diff --git a/docker/lm_entrypoint.sh b/docker/lm_entrypoint.sh index 4e38f8ca..a12fd0bf 100644 --- a/docker/lm_entrypoint.sh +++ b/docker/lm_entrypoint.sh @@ -28,6 +28,7 @@ else export GUNICORN_SERVER="true" export GUNICORN_WORKERS="${GUNICORN_WORKERS:-2}" export GUNICORN_THREADS="${GUNICORN_THREADS:-1}" + export GUNICORN_WORKER_CLASS="${GUNICORN_WORKER_CLASS:-sync}" export GUNICORN_MAX_REQUESTS="${GUNICORN_MAX_REQUESTS:-0}" export GUNICORN_MAX_REQUESTS_JITTER="${GUNICORN_MAX_REQUESTS_JITTER:-0}" export GUNICORN_WORKER_CONNECTIONS="${GUNICORN_WORKER_CONNECTIONS:-1000}"