mirror of https://github.com/apache/superset.git
fix: getting default value in run-server.sh (#20736)
This commit is contained in:
parent
776d211dae
commit
5990ea639e
|
@ -28,8 +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 ${WORKER_MAX_REQUESTS:-0} \
|
||||||
--max-requests-jitter ${WORKER_MAX_REQUESTS_JITTER: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