Skip to content

Commit

Permalink
fix: getting default value in run-server.sh (apache#20736)
Browse files Browse the repository at this point in the history
(cherry picked from commit 5990ea6)
  • Loading branch information
zhaoyongjie authored and Fahrenheit35 committed Nov 11, 2022
1 parent dfae13b commit 6c37ed1
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 6c37ed1

Please sign in to comment.