From 7d20ccd8d7a5b8de05c926e5368524f3c060b315 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 21 Feb 2023 21:42:41 +0000 Subject: [PATCH] Restart gunicorn processes more often --- etc/gunicorn.conf.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/gunicorn.conf.py b/etc/gunicorn.conf.py index 666dd82..69da274 100644 --- a/etc/gunicorn.conf.py +++ b/etc/gunicorn.conf.py @@ -5,8 +5,8 @@ accesslog = "-" disable_redirect_access_to_syslog = True preload_app = True bind = "0.0.0.0:8080" -max_requests = 1200 -max_requests_jitter = 100 +max_requests = 800 +max_requests_jitter = 50 forwarded_allow_ips = "*" # Run an additional thread so the GIL isn't sitting completely idle