Skip to content

Commit

Permalink
fix: make max-requests and max-requests-jitter adjustable (#20733)
Browse files Browse the repository at this point in the history
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
(cherry picked from commit 8832410)
  • Loading branch information
mdeshmu authored and eschutho committed Sep 14, 2022
1 parent 56137eb commit 5efee17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docker/run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ gunicorn \
--threads ${SERVER_THREADS_AMOUNT:-20} \
--timeout ${GUNICORN_TIMEOUT:-60} \
--keep-alive ${GUNICORN_KEEPALIVE:-2} \
--max-requests ${WORKER_MAX_REQUESTS:0} \
--max-requests-jitter ${WORKER_MAX_REQUESTS_JITTER:0} \
--limit-request-line ${SERVER_LIMIT_REQUEST_LINE:-0} \
--limit-request-field_size ${SERVER_LIMIT_REQUEST_FIELD_SIZE:-0} \
"${FLASK_APP}"

0 comments on commit 5efee17

Please sign in to comment.