Commit 07019143 authored by Alan Taylor's avatar Alan Taylor

terminology change: processes -> threads pt.2

parent f768c06d
......@@ -172,11 +172,11 @@ def benchmark_new_nodes(nodes_specified):
# run benchmarks and update cache with results
try:
num_processes = mp.cpu_count() * 5
num_threads = mp.cpu_count() * 5
except NotImplementedError:
num_processes = 5
num_threads = 5
with cf.ThreadPoolExecutor(max_workers=num_processes) as executor:
with cf.ThreadPoolExecutor(max_workers=num_threads) as executor:
bench_status = {executor.submit(_benchmark_render_node, node): node for node in nodes}
for status in cf.as_completed(bench_status):
bench_res.append(status.result())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment