From 82f4d1cc960e4f23c8fc10a71d16eead4ad6f6c3 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 9 Jun 2020 20:52:49 +0200 Subject: [PATCH] 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 --- sources/org.osbuild.files | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources/org.osbuild.files b/sources/org.osbuild.files index 6d9fe8c1..42ff6cac 100755 --- a/sources/org.osbuild.files +++ b/sources/org.osbuild.files @@ -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