diff --git a/docker/run-server.sh b/docker/run-server.sh index 064f47b9c2cbc..1136852d0243b 100644 --- a/docker/run-server.sh +++ b/docker/run-server.sh @@ -28,6 +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} \ --limit-request-line ${SERVER_LIMIT_REQUEST_LINE:-0} \ --limit-request-field_size ${SERVER_LIMIT_REQUEST_FIELD_SIZE:-0} \ "${FLASK_APP}"