diff --git a/arkindex/documents/management/commands/gunicorn.py b/arkindex/documents/management/commands/gunicorn.py index 7d0e82ac809ad6a2224ea15752ef8bede029b7cc..1d3f4f638856973de6db1631f897d9294b4f9dfe 100644 --- a/arkindex/documents/management/commands/gunicorn.py +++ b/arkindex/documents/management/commands/gunicorn.py @@ -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):