aboutsummaryrefslogtreecommitdiffstats
path: root/checker/src/gunicorn.conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'checker/src/gunicorn.conf.py')
-rw-r--r--checker/src/gunicorn.conf.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/checker/src/gunicorn.conf.py b/checker/src/gunicorn.conf.py
index a382951..b049e48 100644
--- a/checker/src/gunicorn.conf.py
+++ b/checker/src/gunicorn.conf.py
@@ -1,7 +1,10 @@
-# This is a configuration file required by the checker.
import multiprocessing
-worker_class = "eventlet"
-workers = multiprocessing.cpu_count()*2+1
+
+worker_class = "gevent"
+workers = multiprocessing.cpu_count() * 2 + 1
bind = "0.0.0.0:3031"
timeout = 90
-keepalive = 3600 \ No newline at end of file
+keepalive = 3600
+max_requests = 100
+preload_app = True
+max_requests_jitter = 30