Skip to content
Snippets Groups Projects
Commit ae672131 authored by Hu Zhao's avatar Hu Zhao
Browse files

docs: add comment for max_workers

parent a5e5ce06
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,7 @@ serial_time = time.time() - start
serial_output = run_mpm_simulator.outputs
start = time.time()
# max_workers controls maximum number of tasks running in parallel
run_mpm_simulator.parallel_run(var_samples, prefixes=parallel_prefixes, max_workers=4)
parallel_time = time.time() - start
parallel_output = run_mpm_simulator.outputs
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment