From 55b96129c88ffaee04397c19f5869abdf14b28e0 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Wed, 30 Jul 2025 10:53:03 -0700 Subject: [PATCH] change gunicorn timeout to 240 seconds --- gunicorn_config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gunicorn_config.py b/gunicorn_config.py index fc50f4ffc..167017522 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -2,13 +2,19 @@ import os # noqa import socket # noqa import sys # noqa import traceback # noqa +import logging -import gunicorn # noqa +import gunicorn + +from app.utils import hilite # noqa # This will give us a better stack trace if workers = 4 worker_class = "gevent" worker_connections = 256 +logging.basicConfig(level=logging.INFO) +logging.info(hilite("Gunicorn timeout set to 240 seconds")) +timeout = 240 bind = "0.0.0.0:{}".format(os.getenv("PORT")) statsd_host = "{}:8125".format(os.getenv("STATSD_HOST")) gunicorn.SERVER_SOFTWARE = "None"