Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable gunicorn timeout for automation scripts #992

Merged
merged 11 commits into from
Feb 23, 2024
2 changes: 1 addition & 1 deletion import-automation/executor/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ RUN pip install -r /workspace/requirements.txt

COPY app/. /workspace/app/

CMD gunicorn --timeout 1800 --workers 5 -b :$PORT app.main:FLASK_APP
CMD gunicorn --timeout 0 --workers 5 -b :$PORT app.main:FLASK_APP
ajaits marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion import-automation/executor/app.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
runtime: python37
entrypoint: gunicorn --timeout 1800 -b :$PORT app.main:FLASK_APP
entrypoint: gunicorn --timeout 0 -b :$PORT app.main:FLASK_APP
env_variables:
EXECUTOR_PRODUCTION: "True"
TMPDIR: "/tmp"
Expand Down
Loading