Commit c5f66535 authored by Jan Kiene's avatar Jan Kiene
Browse files

set max_workers to default value

parent 08135151
Loading
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@
import subprocess
import pathlib
import sys
import os
import concurrent.futures
from threading import Lock

@@ -55,7 +54,7 @@ def main():

    result_dict = dict()
    # run first part in parallel
    with concurrent.futures.ThreadPoolExecutor(max_workers=os.cpu_count()) as executor:
    with concurrent.futures.ThreadPoolExecutor() as executor:
        executor.map(
            run_file, README_FILES_PARALLEL, BIN_PATHS, [result_dict] * len(README_FILES_PARALLEL)
        )