Bump up the default gunicorn workers running on prod

This commit is contained in:
Debanjum Singh Solanky 2024-03-20 22:56:09 +05:30
parent 62a83dc9bb
commit ec6dc0daaf

View file

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