Skip to content
Snippets Groups Projects
Commit f6439864 authored by Erwan Rouchet's avatar Erwan Rouchet
Browse files

Merge branch 'reduce-max-requests' into 'master'

Reduce max gunicorn worker requests

See merge request !1016
parents 229503ff 22b25661
No related branches found
No related tags found
1 merge request!1016Reduce max gunicorn worker requests
......@@ -66,8 +66,8 @@ class Command(BaseCommand):
# Restart a worker after (max_requests + randint(0, max_requests_jitter))
# It's a "good" way to prevent memory leaks to build up
# https://docs.gunicorn.org/en/stable/settings.html#max-requests
"max_requests": 5000,
"max_requests_jitter": 100,
"max_requests": 1000,
"max_requests_jitter": 25,
}
def load(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment