Skip to content

Commit

Permalink
fix(docker): Make Gunicorn Keepalive Adjustable (#20348)
Browse files Browse the repository at this point in the history
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
(cherry picked from commit 86368dd)
  • Loading branch information
mdeshmu authored and michael-s-molina committed Jun 24, 2022
1 parent 8e1b2a1 commit 991a453
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ gunicorn \
--worker-class ${SERVER_WORKER_CLASS:-gthread} \
--threads ${SERVER_THREADS_AMOUNT:-20} \
--timeout ${GUNICORN_TIMEOUT:-60} \
--keep-alive ${GUNICORN_KEEPALIVE:-2} \
--limit-request-line ${SERVER_LIMIT_REQUEST_LINE:-0} \
--limit-request-field_size ${SERVER_LIMIT_REQUEST_FIELD_SIZE:-0} \
"${FLASK_APP}"

0 comments on commit 991a453

Please sign in to comment.