Skip to content

Commit

Permalink
Disable gunicorn worker timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jpxd authored and mormahr committed Sep 1, 2021
1 parent 04ff0e3 commit d5a2092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ ENV WORKER_COUNT=4

HEALTHCHECK --interval=2s --timeout=2s --retries=5 --start-period=2s CMD curl --fail http://localhost:8080/health || exit 1

CMD exec gunicorn -w $WORKER_COUNT -b 0.0.0.0:8080 pdf_service:pdf_service
CMD exec gunicorn -w $WORKER_COUNT -t 0 -b 0.0.0.0:8080 pdf_service:pdf_service
EXPOSE 8080

0 comments on commit d5a2092

Please sign in to comment.