add timeout to gunicorn

This commit is contained in:
timothycarambat
2023-09-14 15:42:12 -07:00
parent 9eece0f767
commit 328d5e7d37
+1 -1
View File
@@ -2,7 +2,7 @@
node /app/backend/index.js &
NODE_ENV=development node /app/workers/index.js &
{ cd /app/workers/ && NODE_ENV=development yarn run inngest-cli dev -u http://0.0.0.0:3355/background-workers; } &
{ FLASK_ENV=production FLASK_APP=wsgi.py cd document-processor && gunicorn --workers 4 --bind 0.0.0.0:8888 wsgi:api; } &
{ FLASK_ENV=production FLASK_APP=wsgi.py cd document-processor && gunicorn --timeout 300 --workers 4 --bind 0.0.0.0:8888 wsgi:api; } &
wait -n
exit $?