summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
7324142)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Creates a number of worker threads
"""
# If no number of threads is given, we will create as many as we have
Creates a number of worker threads
"""
# If no number of threads is given, we will create as many as we have
- # active processor cores but never less than four.
+ # active processor cores but never less than two.
- num = max(multiprocessing.cpu_count(), 4)
+ num = max(multiprocessing.cpu_count(), 2)