From f9fb066e9ab4bfa96547afb77cfcdfe4b3bcb9d2 Mon Sep 17 00:00:00 2001 From: Tim Ballard <1425377+timoballard@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:36:11 -0600 Subject: [PATCH] Hardcode to 4 workers (#3424) * set gunicorn workers using cpu count * maybe just 4 then --- backend/gunicorn.conf.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/backend/gunicorn.conf.py b/backend/gunicorn.conf.py index b15ae003c0..a709b354cb 100644 --- a/backend/gunicorn.conf.py +++ b/backend/gunicorn.conf.py @@ -1,3 +1 @@ -from multiprocessing import cpu_count - -workers = cpu_count() * 2 + 1 +workers = 4