From a4a714475f2c4f712f2424f518a52ecf357cfb6e Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Tue, 26 Aug 2025 23:11:16 -0400 Subject: [PATCH] changes from review --- docker/gunicorn/logging.conf | 10 ---------- env.template | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/docker/gunicorn/logging.conf b/docker/gunicorn/logging.conf index 683c88e94..e16918592 100644 --- a/docker/gunicorn/logging.conf +++ b/docker/gunicorn/logging.conf @@ -36,13 +36,3 @@ args=(sys.stdout,) [formatter_gunicorn_format] format=INFO: [RomM][gunicorn][%(asctime)s] %(message)s datefmt=%Y-%m-%d %H:%M:%S - -# Gunicorn timeout settings -[server] -timeout = 300 -keepalive = 2 -max_requests = 1000 -max_requests_jitter = 100 -preload_app = true -worker_connections = 1000 - diff --git a/env.template b/env.template index 97e56614b..1bf97f697 100644 --- a/env.template +++ b/env.template @@ -93,7 +93,7 @@ LOGLEVEL=DEBUG # Gunicorn (optional) # Workers -> (2 × CPU cores) + 1 -GUNICORN_WORKERS=# Gunicorn timeout settings +GUNICORN_WORKERS=2 GUNICORN_TIMEOUT=300 GUNICORN_KEEPALIVE=2 GUNICORN_MAX_REQUESTS=1000