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 <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2025-07-31 12:09:17 -04:00
parent f681f53b05
commit 41f36818ab

View File

@@ -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"