From 7b46a03258ccaddd6ee001a004a55b19a7dcb70f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=B5=84=E2=B5=8E=E2=B5=89=E2=B5=94=E2=B5=93=E2=B5=9B?= Date: Mon, 11 Dec 2023 16:49:41 +0100 Subject: [PATCH] Revert "feat(api): use the default sync worker class, and only one worker." (#1770) This reverts commit 39ca414137b60885c1a439e0cae03290009199c7. --- ee/api/entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ee/api/entrypoint.sh b/ee/api/entrypoint.sh index f4372a982..f1926341b 100755 --- a/ee/api/entrypoint.sh +++ b/ee/api/entrypoint.sh @@ -4,4 +4,5 @@ source /tmp/.env.override #uvicorn app:app --host 0.0.0.0 --port $LISTEN_PORT --proxy-headers NB_WORKERS="${NB_WORKERS:=4}" -gunicorn app:app --workers $NB_WORKERS --bind 0.0.0.0:$LISTEN_PORT --log-level ${S_LOGLEVEL:-warning} +gunicorn app:app --workers $NB_WORKERS --worker-class uvicorn.workers.UvicornWorker \ + --bind 0.0.0.0:$LISTEN_PORT --log-level ${S_LOGLEVEL:-warning} \ No newline at end of file