Skip to content
Snippets Groups Projects
Commit 22b25661 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Reduce max gunicorn worker requests

parent 229503ff
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