update.nix: use ThreadPoolExecutor

Not sure why I chose ProcessPoolExecutor in the first place.
gstqt5
Jan Tojnar 2019-04-12 17:46:36 +02:00
parent 441a7da808
commit 5adbeb13c5
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ def main(max_workers, keep_going, packages):
eprint()
eprint('Running update for:')
with concurrent.futures.ProcessPoolExecutor(max_workers=max_workers) as executor:
with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
for package in packages:
updates[executor.submit(run_update_script, package)] = package