update.nix: use ThreadPoolExecutor
Not sure why I chose ProcessPoolExecutor in the first place.
This commit is contained in:
parent
441a7da808
commit
5adbeb13c5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue