From 6302f632c8db9ab578096fde7301903461afe2ba Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Thu, 30 Oct 2014 16:13:21 -0200 Subject: [PATCH] Increase gunicorn timeouts To solve long response problem with all parliaments export to CSV --- bin/run_sigi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/run_sigi b/bin/run_sigi index a6ddc73..3f571d8 100755 --- a/bin/run_sigi +++ b/bin/run_sigi @@ -24,4 +24,6 @@ exec ${VENVDIR}/gunicorn ${DJANGO_WSGI_MODULE}:application \ --workers $NUM_WORKERS \ --user=$USER --group=$GROUP \ --log-level=debug \ +--timeout=180 \ +--graceful-timeout=180 \ --bind=unix:$SOCKFILE