Reduce number of workers to 32, which should be sufficient in practice
@@ -1584,7 +1584,7 @@ def main(args=None):
# Use up to cpu_count*2 workers because some tasks are I/O bound,
# but limit the number of worker to avoid too many open files.
parallel = concurrent.futures.ProcessPoolExecutor(
- max_workers=min(cpu_count * 2, 256)
+ max_workers=min(cpu_count * 2, 32)
)
name = options.output_name
