6
0
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:
Silvio Tomatis 2019-04-17 09:38:20 +02:00 committed by Régis Behmo
parent f812ed7dc3
commit 9a782c5c37

View File

@ -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