From 9bf6c0562f02c31660930c9a8290fac7fe338c3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Gl=C3=BCpker?= Date: Mon, 4 Jun 2018 19:03:16 +0200 Subject: Reduce number of workers --- updateGit.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'updateGit.py') diff --git a/updateGit.py b/updateGit.py index 4adf28c..2999323 100755 --- a/updateGit.py +++ b/updateGit.py @@ -178,7 +178,8 @@ def main(): return print('Updating', len(repos), 'repositories.') - executor = ThreadPoolExecutor(max_workers=len(repos)) + # executor = ThreadPoolExecutor(max_workers=len(repos)) + executor = ThreadPoolExecutor(max_workers=8) for repo in repos: # updatePath(subdir) executor.submit(updatePath, repo) -- cgit v1.2.3