diff options
author | 2020-12-06 13:06:20 +0000 | |
---|---|---|
committer | 2020-12-06 13:06:20 +0000 | |
commit | 6405db48028e604d7d5bde0807843a18ad44cf98 (patch) | |
tree | 2ceaa6a42647ee00bcb12e8cf29091be209ed654 | |
parent | Merge pull request #426 from python-discord/sebastiaan/backend/refactor-deplo... (diff) | |
parent | Update manage.py (diff) |
Merge pull request #431 from python-discord/gunicorn/max-requests
Set max-requests-jitter parameter to gunicorn
-rwxr-xr-x | manage.py | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -163,7 +163,11 @@ class SiteManager: "-b", "0.0.0.0:8000", "pydis_site.wsgi:application", "--threads", "8", - "-w", "4" + "-w", "4", + "--max-requests", "1000", + "--max-requests-jitter", "50", + "--statsd-host", "graphite.default.svc.cluster.local:8125", + "--statsd-prefix", "site", ] # Run gunicorn for the production server. |