From 97d0ece403870a5a2184350608cda448808d70ac Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Thu, 25 Feb 2021 16:57:32 +0000 Subject: Reduce worker count from 4 to 2 We'll be creating a second site instance to allow for rolling restarts, so it makes sense to half this so when we double the requests we'll effectively have 4 workers again. --- manage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'manage.py') diff --git a/manage.py b/manage.py index a025e7b1..fb5ee40c 100755 --- a/manage.py +++ b/manage.py @@ -163,7 +163,7 @@ class SiteManager: "-b", "0.0.0.0:8000", "pydis_site.wsgi:application", "--threads", "8", - "-w", "4", + "-w", "2", "--max-requests", "1000", "--max-requests-jitter", "50", "--statsd-host", "graphite.default.svc.cluster.local:8125", -- cgit v1.2.3