upper bound on parallel queries

pull/34875/head
Shane Smiskol 2 months ago
parent 44ef4c1698
commit 31db502356
  1. 2
      tools/lib/logreader.py

@ -205,7 +205,7 @@ def get_invalid_files(files):
if not files:
return
with ThreadPoolExecutor() as executor:
with ThreadPoolExecutor(max_workers=32) as executor:
future_to_file = {executor.submit(file_exists, file): file for file in files}
for future in as_completed(future_to_file):
file = future_to_file[future]

Loading…
Cancel
Save