From 3a04e6b0f0b1a8eab23de99397367a8ece402c3e Mon Sep 17 00:00:00 2001 From: Marco Enrico Piras Date: Wed, 28 Feb 2024 10:28:40 +0100 Subject: [PATCH] fix: missing worker-class gunicorn parameter --- docker/lm_entrypoint.sh | 1 + 1 file changed, 1 insertion(+) 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}"