mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 09:25:06 +01:00
Lower the default gunicorn workers running on prod
This commit is contained in:
parent
aed4313cfc
commit
7416ca9ae1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue