kopia lustrzana https://github.com/OpenDroneMap/WebODM
Increased timeout values for gunicorn/nginx
rodzic
f2541c6278
commit
477c4c0b29
|
@ -46,8 +46,8 @@ http {
|
|||
|
||||
keepalive_timeout 5;
|
||||
|
||||
proxy_connect_timeout 360s;
|
||||
proxy_read_timeout 360s;
|
||||
proxy_connect_timeout 300000s;
|
||||
proxy_read_timeout 300000s;
|
||||
|
||||
# path for static files
|
||||
location /static {
|
||||
|
|
|
@ -35,8 +35,8 @@ http {
|
|||
|
||||
keepalive_timeout 5;
|
||||
|
||||
proxy_connect_timeout 360s;
|
||||
proxy_read_timeout 360s;
|
||||
proxy_connect_timeout 300000s;
|
||||
proxy_read_timeout 300000s;
|
||||
|
||||
# path for static files
|
||||
location /static {
|
||||
|
|
2
start.sh
2
start.sh
|
@ -113,7 +113,7 @@ else
|
|||
congrats
|
||||
|
||||
nginx -c $(pwd)/nginx/$conf
|
||||
gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 360 --max-requests 250 --preload
|
||||
gunicorn webodm.wsgi --bind unix:/tmp/gunicorn.sock --timeout 300000 --max-requests 250 --preload
|
||||
fi
|
||||
|
||||
# If this is executed, it means the previous command failed, don't display the congratulations message
|
||||
|
|
Ładowanie…
Reference in New Issue