Extend Sahana + Sambro request timeouts to 300s
This commit is contained in:
parent
9d987ec90f
commit
208c9708dd
@ -1,7 +1,7 @@
|
|||||||
location /eden {
|
location /eden {
|
||||||
uwsgi_pass unix:///run/uwsgi/app/sahana/socket;
|
uwsgi_pass unix:///run/uwsgi/app/sahana/socket;
|
||||||
uwsgi_read_timeout 120s;
|
uwsgi_read_timeout 300s;
|
||||||
uwsgi_send_timeout 120s;
|
uwsgi_send_timeout 300s;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_param UWSGI_SCHEME $scheme;
|
uwsgi_param UWSGI_SCHEME $scheme;
|
||||||
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
||||||
|
@ -10,6 +10,6 @@ cheaper-initial = 1
|
|||||||
cheaper-step = 1
|
cheaper-step = 1
|
||||||
workers = 4
|
workers = 4
|
||||||
idle = 600
|
idle = 600
|
||||||
harakiri = 120
|
harakiri = 300
|
||||||
mule = run_scheduler.py
|
mule = run_scheduler.py
|
||||||
cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o
|
cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o
|
||||||
|
@ -11,8 +11,8 @@ server {
|
|||||||
|
|
||||||
location /eden {
|
location /eden {
|
||||||
uwsgi_pass unix:///run/uwsgi/app/sambro/socket;
|
uwsgi_pass unix:///run/uwsgi/app/sambro/socket;
|
||||||
uwsgi_read_timeout 120s;
|
uwsgi_read_timeout 300s;
|
||||||
uwsgi_send_timeout 120s;
|
uwsgi_send_timeout 300s;
|
||||||
include uwsgi_params;
|
include uwsgi_params;
|
||||||
uwsgi_param UWSGI_SCHEME $scheme;
|
uwsgi_param UWSGI_SCHEME $scheme;
|
||||||
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
uwsgi_param SERVER_SOFTWARE nginx/$nginx_version;
|
||||||
|
@ -10,6 +10,6 @@ cheaper-initial = 1
|
|||||||
cheaper-step = 1
|
cheaper-step = 1
|
||||||
workers = 4
|
workers = 4
|
||||||
idle = 600
|
idle = 600
|
||||||
harakiri = 120
|
harakiri = 300
|
||||||
mule = run_scheduler.py
|
mule = run_scheduler.py
|
||||||
cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o
|
cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o
|
||||||
|
Loading…
Reference in New Issue
Block a user