change gunicorn timeout to 240 seconds

This commit is contained in:
Kenneth Kehl
2025-07-30 10:53:03 -07:00
parent aaeba89db2
commit 55b96129c8

View File

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