From 9c63dc90e9f468b85b351c480454bd7203977c2c Mon Sep 17 00:00:00 2001 From: bolyachevets Date: Fri, 18 Oct 2024 09:49:47 -0700 Subject: [PATCH] update gunicorn configs --- queue_services/account-mailer/gunicorn_config.py | 1 + queue_services/auth-queue/gunicorn_config.py | 1 + 2 files changed, 2 insertions(+) diff --git a/queue_services/account-mailer/gunicorn_config.py b/queue_services/account-mailer/gunicorn_config.py index ffe23fde75..58c27d7162 100644 --- a/queue_services/account-mailer/gunicorn_config.py +++ b/queue_services/account-mailer/gunicorn_config.py @@ -19,6 +19,7 @@ workers = int(os.environ.get('GUNICORN_PROCESSES', '1')) # pylint: disable=invalid-name +timeout = int(os.environ.get("GUNICORN_TIMEOUT", "0")) # pylint: disable=invalid-name threads = int(os.environ.get('GUNICORN_THREADS', '1')) # pylint: disable=invalid-name forwarded_allow_ips = '*' # pylint: disable=invalid-name diff --git a/queue_services/auth-queue/gunicorn_config.py b/queue_services/auth-queue/gunicorn_config.py index 4a32d91c3d..17c7b8e093 100644 --- a/queue_services/auth-queue/gunicorn_config.py +++ b/queue_services/auth-queue/gunicorn_config.py @@ -19,6 +19,7 @@ workers = int(os.environ.get('GUNICORN_PROCESSES', '1')) # pylint: disable=invalid-name +timeout = int(os.environ.get("GUNICORN_TIMEOUT", "0")) # pylint: disable=invalid-name threads = int(os.environ.get('GUNICORN_THREADS', '1')) # pylint: disable=invalid-name forwarded_allow_ips = '*' # pylint: disable=invalid-name