From 7de1d90cb02008f5c88b34706f805828ecd7a5eb Mon Sep 17 00:00:00 2001 From: Uxio Fuentefria Date: Fri, 21 Jul 2023 14:07:19 +0200 Subject: [PATCH] Fix typo on gunicorn configuration --- gunicorn.conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn.conf.py b/gunicorn.conf.py index a3751bfd5..ab83c145e 100644 --- a/gunicorn.conf.py +++ b/gunicorn.conf.py @@ -13,7 +13,7 @@ logger_class = "safe_transaction_service.utils.loggers.CustomGunicornLogger" preload_app = False # Load application code before the worker processes are forked (problems with gevent patching) # For timeout to work with gevent, a custom GeventWorker needs to be used -timeout = os.environ("WEB_WORKER_TIMEOUT", 60) +timeout = os.environ.get("WEB_WORKER_TIMEOUT", 60) worker_class = "gunicorn_custom_workers.MyGeventWorker" # "gevent" worker_connections = os.environ.get("WEB_WORKER_CONNECTIONS", 1000)