fix(docker): Make Gunicorn Keepalive Adjustable (#20348)

Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
This commit is contained in:
Multazim Deshmukh 2022-06-11 01:34:39 +05:30 committed by GitHub
parent 11b33de61b
commit 86368dd406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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}"