From 415b0b3f2e5047df33380408d64d6b4022140dd3 Mon Sep 17 00:00:00 2001 From: Hironsan Date: Tue, 12 Mar 2019 21:48:03 +0900 Subject: [PATCH] Set timeout option to gunicorn If there is no timeout option, we cannot upload a large file. So I set the option. --- tools/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/run.sh b/tools/run.sh index a0f0eaa1..88163bae 100755 --- a/tools/run.sh +++ b/tools/run.sh @@ -6,4 +6,4 @@ if [[ ! -d "app/staticfiles" ]]; then python app/manage.py collectstatic --noinp python app/manage.py wait_for_db python app/manage.py migrate -gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" --pythonpath=app app.wsgi +gunicorn --bind="0.0.0.0:${PORT:-8000}" --workers="${WORKERS:-1}" --pythonpath=app app.wsgi --timeout 300