Revert "feat(api): use the default sync worker class, and only one worker." (#1770)

This reverts commit 39ca414137.
This commit is contained in:
ⵄⵎⵉⵔⵓⵛ 2023-12-11 16:49:41 +01:00 committed by GitHub
parent 3cf91fdff2
commit 7b46a03258
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}