From 208c9708dddeaa0768aceefd83b9d7cae3144ee8 Mon Sep 17 00:00:00 2001 From: Disassembler Date: Mon, 25 Sep 2017 16:16:21 +0200 Subject: [PATCH] Extend Sahana + Sambro request timeouts to 300s --- sahana/etc/nginx/apps-available/sahana | 4 ++-- sahana/etc/uwsgi/apps-available/sahana.ini | 2 +- sambro/etc/nginx/sites-available/sambro | 4 ++-- sambro/etc/uwsgi/apps-available/sambro.ini | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sahana/etc/nginx/apps-available/sahana b/sahana/etc/nginx/apps-available/sahana index 85891d4..7d1b488 100644 --- a/sahana/etc/nginx/apps-available/sahana +++ b/sahana/etc/nginx/apps-available/sahana @@ -1,7 +1,7 @@ location /eden { uwsgi_pass unix:///run/uwsgi/app/sahana/socket; - uwsgi_read_timeout 120s; - uwsgi_send_timeout 120s; + uwsgi_read_timeout 300s; + uwsgi_send_timeout 300s; include uwsgi_params; uwsgi_param UWSGI_SCHEME $scheme; uwsgi_param SERVER_SOFTWARE nginx/$nginx_version; diff --git a/sahana/etc/uwsgi/apps-available/sahana.ini b/sahana/etc/uwsgi/apps-available/sahana.ini index bb69e21..c4af00f 100644 --- a/sahana/etc/uwsgi/apps-available/sahana.ini +++ b/sahana/etc/uwsgi/apps-available/sahana.ini @@ -10,6 +10,6 @@ cheaper-initial = 1 cheaper-step = 1 workers = 4 idle = 600 -harakiri = 120 +harakiri = 300 mule = run_scheduler.py cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o diff --git a/sambro/etc/nginx/sites-available/sambro b/sambro/etc/nginx/sites-available/sambro index 87e1099..33160a3 100644 --- a/sambro/etc/nginx/sites-available/sambro +++ b/sambro/etc/nginx/sites-available/sambro @@ -11,8 +11,8 @@ server { location /eden { uwsgi_pass unix:///run/uwsgi/app/sambro/socket; - uwsgi_read_timeout 120s; - uwsgi_send_timeout 120s; + uwsgi_read_timeout 300s; + uwsgi_send_timeout 300s; include uwsgi_params; uwsgi_param UWSGI_SCHEME $scheme; uwsgi_param SERVER_SOFTWARE nginx/$nginx_version; diff --git a/sambro/etc/uwsgi/apps-available/sambro.ini b/sambro/etc/uwsgi/apps-available/sambro.ini index eeb23f2..6e3ca74 100644 --- a/sambro/etc/uwsgi/apps-available/sambro.ini +++ b/sambro/etc/uwsgi/apps-available/sambro.ini @@ -10,6 +10,6 @@ cheaper-initial = 1 cheaper-step = 1 workers = 4 idle = 600 -harakiri = 120 +harakiri = 300 mule = run_scheduler.py cron = 10 -1 -1 -1 -1 python web2py.py -Q -S eden -M -R scripts/sessions2trash.py -A -o