aboutsummaryrefslogtreecommitdiffstats
path: root/manage.py
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-12-05 15:40:04 +0000
committerGravatar Joe Banks <[email protected]>2020-12-05 15:40:04 +0000
commit862a982115bc6feb46c082484740765b0eac5caa (patch)
tree6440389a33e5aa43c6d6a55a79b36c5eee6b4fb4 /manage.py
parentMerge pull request #426 from python-discord/sebastiaan/backend/refactor-deplo... (diff)
Update gunicorn configuration options
Diffstat (limited to 'manage.py')
-rwxr-xr-xmanage.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/manage.py b/manage.py
index 446b1af3..36442eab 100755
--- a/manage.py
+++ b/manage.py
@@ -163,7 +163,10 @@ class SiteManager:
"-b", "0.0.0.0:8000",
"pydis_site.wsgi:application",
"--threads", "8",
- "-w", "4"
+ "-w", "4",
+ "--max-requests-jitter", "1000",
+ "--statsd_host", "graphite.default.svc.cluster.local:8125",
+ "--statsd_prefix", "site",
]
# Run gunicorn for the production server.