This is an automated email from the ASF dual-hosted git repository.

yongjiezhao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/superset.git


The following commit(s) were added to refs/heads/master by this push:
     new 5990ea639e fix: getting default value in run-server.sh (#20736)
5990ea639e is described below

commit 5990ea639e4f94b54d3109d14b1918a6f9770f14
Author: Yongjie Zhao <[email protected]>
AuthorDate: Mon Jul 18 23:00:27 2022 +0800

    fix: getting default value in run-server.sh (#20736)
---
 docker/run-server.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker/run-server.sh b/docker/run-server.sh
index 1136852d02..58174d2bb5 100644
--- a/docker/run-server.sh
+++ b/docker/run-server.sh
@@ -28,8 +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} \
+    --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}"

Reply via email to