Skip to content

Commit 30bfbc3

Browse files
committed
update the gunicorn timeout to match the traefik
1 parent a34e780 commit 30bfbc3

File tree

1 file changed

+5
-1
lines changed
  • compose/production/django

1 file changed

+5
-1
lines changed

compose/production/django/start

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,8 @@ set -o nounset
77

88
python /app/manage.py collectstatic --noinput
99

10-
exec /usr/local/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app
10+
exec /usr/local/bin/gunicorn config.wsgi \
11+
--bind 0.0.0.0:5000 \
12+
--chdir=/app \
13+
--timeout 300 \
14+
--graceful-timeout 300 \

0 commit comments

Comments
 (0)