Increase the socket timeout on uwsgi local mode
This commit increases the socket timeout value from 4 secs to a much higher 30 secs. This is just for sanity, the load is high when we're seeing the wsgi.input timeouts, so uwsgi might be just closing the socket waiting for data over the wire. 30 seconds is overly conservative just so we can rule this out. This will likely be shrunk to a more reasonable value in the future. Change-Id: Iae85d3a084fb33b2a63550d6e353413e98c0b39c Partial-Bug: #1701088
This commit is contained in:
parent
1560efe9c9
commit
b79531a9f9
@ -323,6 +323,8 @@ function write_local_uwsgi_http_config {
|
||||
iniset "$file" uwsgi http-chunked-input true
|
||||
iniset "$file" uwsgi http-auto-chunked true
|
||||
iniset "$file" uwsgi http-keepalive false
|
||||
# Increase socket timeout for slow chunked uploads
|
||||
iniset "$file" uwsgi socket-timeout 30
|
||||
|
||||
enable_apache_mod proxy
|
||||
enable_apache_mod proxy_http
|
||||
|
Loading…
Reference in New Issue
Block a user