mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
Use the actually recommended value, not a random copy-paste I found somewhere and shamefully didn't check
This commit is contained in:
parent
f812ed7dc3
commit
9a782c5c37
@ -2,4 +2,4 @@ import multiprocessing
|
||||
|
||||
# The recommended number of workers is twice the
|
||||
# CPU count plus one
|
||||
workers = (multiprocessing.cpu_count()-1) * 2 + 2
|
||||
workers = (multiprocessing.cpu_count() * 2) + 1
|
||||
|
Loading…
Reference in New Issue
Block a user