mirror of
https://github.com/DrizzleTime/Foxel.git
synced 2026-09-05 15:47:00 +08:00
chore(entrypoint.sh): reduce gunicorn worker count from 2 to 1
This commit is contained in:
+1
-1
@@ -2,4 +2,4 @@
|
|||||||
set -e
|
set -e
|
||||||
python migrate/run.py
|
python migrate/run.py
|
||||||
nginx -g 'daemon off;' &
|
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
|
||||||
Reference in New Issue
Block a user