diff --git a/gunicorn_config.py b/gunicorn_config.py index 7c2c46da3c..7c4e126c6b 100644 --- a/gunicorn_config.py +++ b/gunicorn_config.py @@ -17,9 +17,9 @@ def child_exit(server, worker): workers = 4 worker_class = "eventlet" -worker_connections = 8 # limit runaway greenthread creation +worker_connections = 256 # limit runaway greenthread creation statsd_host = "{}:8125".format(os.getenv("STATSD_HOST")) -keepalive = 0 # disable temporarily for diagnosing issues +keepalive = 35 # disable temporarily for diagnosing issues timeout = int(os.getenv("HTTP_SERVE_TIMEOUT_SECONDS", 30)) # though has little effect with eventlet worker_class debug_post_threshold = os.getenv("NOTIFY_GUNICORN_DEBUG_POST_REQUEST_LOG_THRESHOLD_SECONDS", None)