aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-02-25 16:57:32 +0000
committerGravatar GitHub <[email protected]>2021-02-25 16:57:32 +0000
commit97d0ece403870a5a2184350608cda448808d70ac (patch)
tree1cab9f374530f64690d045b2b9528330c34b8eff /manage.py
parentMerge pull request #448 from python-discord/add-linode-footer (diff)
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.
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py2
1 files changed, 1 insertions, 1 deletions
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",