Skip to content

Commit 0d52596

Browse files
committed
fix gunicorn
1 parent 746e464 commit 0d52596

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

checker/src/gunicorn.conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import multiprocessing
22

33
worker_class = "uvicorn.workers.UvicornWorker"
4-
workers = max(1, multiprocessing.cpu_count()*2)
4+
workers = max(1, multiprocessing.cpu_count() - 1)
55
bind = "0.0.0.0:8000"
66
timeout = 90
77
keepalive = 3600

0 commit comments

Comments
 (0)