Skip to content

Commit

Permalink
fix: getting default value in run-server.sh (#20736)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5990ea6)
  • Loading branch information
zhaoyongjie authored and eschutho committed Sep 14, 2022
1 parent 5efee17 commit 43b8f18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit 43b8f18

Please sign in to comment.