现在我的每个连接都在60秒后关闭。我想将这个时间增加到300秒。
要做到这一点,我改变了我的ini文件:
[uwsgi]
# Django-related settings
# the base directory (full path)
chdir = /home/root/djangoApp
# Django's wsgi file
module=djangoApp.wsgi:application
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket (use the full path to be safe
http = 127.0.0.1:8000
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
protocol = uwsgi
harakiri = 300
http-timeout = 300
但它不起作用,仍然会在60秒后杀死该过程。
我将非常感谢您的帮助,
由于