Merge pull request #1877 from GSA/report_performance

try 60 seconds for timeout since we can't finish deploy for unknown r…
This commit is contained in:
Kenneth Kehl
2025-07-30 14:32:12 -07:00
committed by GitHub

View File

@@ -1,8 +1,8 @@
import logging
import os # noqa import os # noqa
import socket # noqa import socket # noqa
import sys # noqa import sys # noqa
import traceback # noqa import traceback # noqa
import logging
import gunicorn import gunicorn
@@ -13,8 +13,8 @@ workers = 4
worker_class = "gevent" worker_class = "gevent"
worker_connections = 256 worker_connections = 256
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
logging.info(hilite("Gunicorn timeout set to 240 seconds")) timeout = 60
timeout = 240 logging.info(hilite(f"Gunicorn timeout set to {timeout} seconds"))
bind = "0.0.0.0:{}".format(os.getenv("PORT")) bind = "0.0.0.0:{}".format(os.getenv("PORT"))
statsd_host = "{}:8125".format(os.getenv("STATSD_HOST")) statsd_host = "{}:8125".format(os.getenv("STATSD_HOST"))
gunicorn.SERVER_SOFTWARE = "None" gunicorn.SERVER_SOFTWARE = "None"