Django http connection timeout
问题 I have Django + mod_wsgi + Apache server. I need to change default HTTP connection timeout. There is Timeout directive in apache config but it's not working. How can I set this up? 回答1: I solved this problem with : python manage.py runserver --http_timeout 120 回答2: There is few timeout options in mod_wsgi WSGIDaemonProcess directive (i think inactivity-timeout can help): inactivity-timeout=sss (2.0+) Defines the maximum number of seconds allowed to pass before the daemon process is shutdown