From 7059e89b87000ec84e373d615eb89d73fcb4cb6e Mon Sep 17 00:00:00 2001
From: Emanuele Aina <emanuele.aina@collabora.com>
Date: Sat, 6 Nov 2021 11:23:22 +0100
Subject: [PATCH] fetch-downstream: Increase parallelism retrieving component

Add more parallel workers whe retrieving the component and licensing
report from git to speed up the process.

Signed-off-by: Emanuele Aina <emanuele.aina@collabora.com>
---
 bin/packaging-data-fetch-downstream | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/packaging-data-fetch-downstream b/bin/packaging-data-fetch-downstream
index d31e61d..0980a5d 100755
--- a/bin/packaging-data-fetch-downstream
+++ b/bin/packaging-data-fetch-downstream
@@ -152,7 +152,7 @@ class DownstreamFetcher:
                 branch.tags.sort()
 
     def fetch_component_license_report(self, projects):
-        num_worker_threads = 10
+        num_worker_threads = 30
 
         def _fetch_license_report(project):
             for branch in project.branches.values():
-- 
GitLab