From 41f36818ab028c8dae8b914014250bdf7fe4e3ed Mon Sep 17 00:00:00 2001 From: Carlo Costino Date: Thu, 31 Jul 2025 12:09:17 -0400 Subject: [PATCH] Attempt to fix gunicorn config There is something currently breaking our deployment and this is an attempt to revert recent changes to try and get things working again. Signed-off-by: Carlo Costino --- gunicorn_config.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gunicorn_config.py b/gunicorn_config.py index 5f7954884..fc50f4ffc 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -1,20 +1,14 @@ -# import logging import os # noqa import socket # noqa import sys # noqa import traceback # noqa -import gunicorn - -from app.utils import hilite # noqa +import gunicorn # noqa # This will give us a better stack trace if workers = 4 worker_class = "gevent" worker_connections = 256 -# logging.basicConfig(level=logging.INFO) -# timeout = 240 -# logging.info(hilite(f"Gunicorn timeout set to {timeout} seconds")) bind = "0.0.0.0:{}".format(os.getenv("PORT")) statsd_host = "{}:8125".format(os.getenv("STATSD_HOST")) gunicorn.SERVER_SOFTWARE = "None"