mirror of https://github.com/apache/superset.git
fix: make max-requests and max-requests-jitter adjustable (#20733)
Co-authored-by: Multazim Deshmukh <multazim.deshmukh@morningstar.com>
This commit is contained in:
parent
bbaa4cc65d
commit
883241070f
|
@ -28,6 +28,8 @@ gunicorn \
|
||||||
--threads ${SERVER_THREADS_AMOUNT:-20} \
|
--threads ${SERVER_THREADS_AMOUNT:-20} \
|
||||||
--timeout ${GUNICORN_TIMEOUT:-60} \
|
--timeout ${GUNICORN_TIMEOUT:-60} \
|
||||||
--keep-alive ${GUNICORN_KEEPALIVE:-2} \
|
--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-line ${SERVER_LIMIT_REQUEST_LINE:-0} \
|
||||||
--limit-request-field_size ${SERVER_LIMIT_REQUEST_FIELD_SIZE:-0} \
|
--limit-request-field_size ${SERVER_LIMIT_REQUEST_FIELD_SIZE:-0} \
|
||||||
"${FLASK_APP}"
|
"${FLASK_APP}"
|
||||||
|
|
Loading…
Reference in New Issue