Lower the default gunicorn workers running on prod

This commit is contained in:
Debanjum Singh Solanky 2024-03-21 04:35:52 +05:30
parent aed4313cfc
commit 7416ca9ae1

View file

@ -1,7 +1,7 @@
import multiprocessing import multiprocessing
bind = "0.0.0.0:42110" bind = "0.0.0.0:42110"
workers = 12 workers = 8
worker_class = "uvicorn.workers.UvicornWorker" worker_class = "uvicorn.workers.UvicornWorker"
timeout = 120 timeout = 120
keep_alive = 60 keep_alive = 60