From c36e5a63b601d3e1ea37ff40b4a50a66709c1930 Mon Sep 17 00:00:00 2001 From: Tim Ballard <1425377+timoballard@users.noreply.github.com> Date: Fri, 16 Feb 2024 17:15:13 -0600 Subject: [PATCH] recycle gunicorn workers after ~500 reqs (#3428) --- backend/gunicorn.conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/gunicorn.conf.py b/backend/gunicorn.conf.py index 19fa509e87..6aa128db91 100644 --- a/backend/gunicorn.conf.py +++ b/backend/gunicorn.conf.py @@ -1,2 +1,4 @@ +max_requests = 500 +max_requests_jitter = 50 timeout = 120 workers = 4