Lazy commit on fry.
This commit is contained in:
parent
d9e542cf13
commit
83a390d41a
@ -266,7 +266,7 @@ if __name__ == "__main__":
|
||||
print(f" {tl} {k.ljust(ml + 1)} {flags}")
|
||||
# print(json.dumps(dat, indent = 2))
|
||||
elif sys.argv[1] in list( [ "sync", "lc", "lcs", "pull", "push", "fetch" ] ):
|
||||
thread_count = 10
|
||||
thread_count = 30
|
||||
with concurrent.futures.ThreadPoolExecutor(max_workers=thread_count) as executor:
|
||||
futures = {executor.submit(perform_action, sys.argv[1], k, cfg[k]) for k in r}
|
||||
for future in concurrent.futures.as_completed(futures):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user