From aac9ed7816bbdc084a6f5ff17a45958083c01768 Mon Sep 17 00:00:00 2001 From: Andrew Bolyachevets Date: Fri, 18 Oct 2024 09:57:11 -0700 Subject: [PATCH] update gunicorn configs (#3082) --- 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..7428d67daf 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..b64e653e89 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