sources/files: reduce the concurrent curl processes

We appear to be throttled by some mirrors if we are too eager. Back off.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-06-09 20:52:49 +02:00 committed by Lars Karlitski
parent 65e1b35102
commit 82f4d1cc96

View file

@ -163,7 +163,7 @@ def main(options, checksums, cache, output):
os.makedirs(cache, exist_ok=True)
os.makedirs(output, exist_ok=True)
with concurrent.futures.ProcessPoolExecutor(max_workers=15) as executor:
with concurrent.futures.ProcessPoolExecutor(max_workers=4) as executor:
requested_urls = []
rhsm_secrets = None