From 862a982115bc6feb46c082484740765b0eac5caa Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Sat, 5 Dec 2020 15:40:04 +0000 Subject: Update gunicorn configuration options --- manage.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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. -- cgit v1.2.3