Skip to content

Commit

Permalink
Comment out gunicorn utilize all device cpu line
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmedabdou14 committed Apr 19, 2024
1 parent 5f19484 commit 82f2e89
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
else:
use_bind = f"{host}:{port}"

cores = 1 # multiprocessing.cpu_count()
cores = 10
# cores = multiprocessing.cpu_count()
workers_per_core = float(workers_per_core_str)
default_web_concurrency = workers_per_core * cores
if web_concurrency_str:
Expand Down

0 comments on commit 82f2e89

Please sign in to comment.