Skip to content

Commit

Permalink
changing worker amount a to higher for better threading
Browse files Browse the repository at this point in the history
  • Loading branch information
SirGankalot committed Jul 14, 2024
1 parent f8c0923 commit 2b0e10a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion checker/src/gunicorn.conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import multiprocessing

worker_class = "uvicorn.workers.UvicornWorker"
workers = min(4, multiprocessing.cpu_count())
workers = min(6, multiprocessing.cpu_count())
bind = "0.0.0.0:19696"
timeout = 90
keepalive = 3600
Expand Down
2 changes: 1 addition & 1 deletion service/gunicorn.conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import multiprocessing

#worker_class = "gevent"
workers = min(4, multiprocessing.cpu_count())
workers = min(6, multiprocessing.cpu_count())
bind = "0.0.0.0:9696"
timeout = 90
keepalive = 3600
Expand Down

0 comments on commit 2b0e10a

Please sign in to comment.