From 02698fab43329483dd051f72f2f0186ec54946da Mon Sep 17 00:00:00 2001 From: lawtancool <26829131+lawtancool@users.noreply.github.com> Date: Tue, 19 May 2020 09:41:08 -0700 Subject: [PATCH] change gunicorn workers to 3 Assuming a single core system, (2 x $num_cores) + 1 = 3 (see https://docs.gunicorn.org/en/stable/design.html#how-many-workers) --- scripts/gunicorn.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/gunicorn.conf b/scripts/gunicorn.conf index 3b2921a32..a2f456079 100644 --- a/scripts/gunicorn.conf +++ b/scripts/gunicorn.conf @@ -1,6 +1,6 @@ bind = '127.0.0.1:8000' backlog = 2048 -workers = 4 +workers = 3 worker_class = 'sync' worker_connections = 1000 timeout = 20