From 787f370254b1476cb6bd0fcb7fee4bacd8f26c49 Mon Sep 17 00:00:00 2001 From: Yongjie Zhao Date: Mon, 18 Jul 2022 10:46:44 +0800 Subject: [PATCH] fix: getting default value in run-server.sh --- 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 1136852d0243b..58174d2bb574e 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}"