chore(entrypoint.sh): reduce gunicorn worker count from 2 to 1

This commit is contained in:
shiyu
2025-09-26 18:56:27 +08:00
parent 0399011406
commit da41393db3

View File

@@ -2,4 +2,4 @@
set -e
python migrate/run.py
nginx -g 'daemon off;' &
exec gunicorn -k uvicorn.workers.UvicornWorker -w 2 -b 0.0.0.0:8000 main:app
exec gunicorn -k uvicorn.workers.UvicornWorker -w 1 -b 0.0.0.0:8000 main:app