From b942c16f4916f0a0d65b3e20f8ad7bbf24a10d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Tue, 26 Nov 2024 16:47:11 +0100 Subject: [PATCH] fix: increase max_requests to 500 --- gunicorn.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gunicorn.py b/gunicorn.py index 418d85a721..85b28f916c 100644 --- a/gunicorn.py +++ b/gunicorn.py @@ -10,6 +10,6 @@ preload_app = bool(os.environ.get("GUNICORN_PRELOAD_APP", True)) timeout = 60 # Limit the impact of caching on RAM use by restarting workers -# every 50 requests -max_requests = 50 -max_requests_jitter = 5 +# every 500 requests +max_requests = 500 +max_requests_jitter = 50