From 8b65c28ca70500e38cf8b6e3a6756509c492c25a Mon Sep 17 00:00:00 2001 From: Ian Nice Date: Fri, 24 Oct 2025 16:31:15 +0100 Subject: [PATCH] Enabling keep alives for 5xx testing --- gunicorn_config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gunicorn_config.py b/gunicorn_config.py index 7c2c46da3c..7c4e126c6b 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -17,9 +17,9 @@ def child_exit(server, worker): workers = 4 worker_class = "eventlet" -worker_connections = 8 # limit runaway greenthread creation +worker_connections = 256 # limit runaway greenthread creation statsd_host = "{}:8125".format(os.getenv("STATSD_HOST")) -keepalive = 0 # disable temporarily for diagnosing issues +keepalive = 35 # disable temporarily for diagnosing issues timeout = int(os.getenv("HTTP_SERVE_TIMEOUT_SECONDS", 30)) # though has little effect with eventlet worker_class debug_post_threshold = os.getenv("NOTIFY_GUNICORN_DEBUG_POST_REQUEST_LOG_THRESHOLD_SECONDS", None)