From 1b4e29a3b9a642bad4f5d1358fd568b3491674aa Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Wed, 16 Aug 2023 17:54:00 -0700 Subject: [PATCH] bump up gunicorn timeout for large files --- docker/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/docker-entrypoint.sh b/docker/docker-entrypoint.sh index 37587178a..eb9285a9d 100755 --- a/docker/docker-entrypoint.sh +++ b/docker/docker-entrypoint.sh @@ -1,5 +1,5 @@ #!/bin/bash node /app/server/index.js & -{ FLASK_ENV=production FLASK_APP=wsgi.py cd collector && gunicorn --workers 4 --bind 0.0.0.0:8888 wsgi:api; } & +{ FLASK_ENV=production FLASK_APP=wsgi.py cd collector && gunicorn --timeout 300 --workers 4 --bind 0.0.0.0:8888 wsgi:api; } & wait -n exit $? \ No newline at end of file