From 7416ca9ae16ff49ebcc925ca945b4325d265b06e Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Thu, 21 Mar 2024 04:35:52 +0530 Subject: [PATCH] Lower the default gunicorn workers running on prod --- gunicorn-config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn-config.py b/gunicorn-config.py index 7b8090a7..bfed49e7 100644 --- a/gunicorn-config.py +++ b/gunicorn-config.py @@ -1,7 +1,7 @@ import multiprocessing bind = "0.0.0.0:42110" -workers = 12 +workers = 8 worker_class = "uvicorn.workers.UvicornWorker" timeout = 120 keep_alive = 60