fix for 16+ CPU
This commit is contained in:
1 parent
453237bfd7
commit
afdb1ef85d
1 file changed
+1
-1
@@ -117,7 +117,7 @@ class ArrayFillerSubprocessor(Subprocessor):
|
|||||||
|
|
||||||
#override
|
#override
|
||||||
def process_info_generator(self):
|
def process_info_generator(self):
|
||||||
for i in range(multiprocessing.cpu_count()):
|
for i in range(min(multiprocessing.cpu_count(), 8)):
|
||||||
yield 'CPU%d' % (i), {}, {'sh_b':self.sh_b}
|
yield 'CPU%d' % (i), {}, {'sh_b':self.sh_b}
|
||||||
|
|
||||||
#override
|
#override
|
||||||
|
|||||||
Reference in new issue
Block a user