From dd2e853a1726bee1ab024fe9fa5c1b1cf4290334 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Fri, 11 Aug 2017 17:49:26 +0000 Subject: [PATCH] A few more threads for querying pagure. --- roles/bodhi2/backend/templates/owner-sync-pagure.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 index cc67dddd5f..c33160a190 100755 --- a/roles/bodhi2/backend/templates/owner-sync-pagure.j2 +++ b/roles/bodhi2/backend/templates/owner-sync-pagure.j2 @@ -224,7 +224,7 @@ def get_pagure_project_branches(namespace): total_projects = first_page_rv.json()['total_projects'] num_pages = int(ceil(total_projects / 100.0)) - pool = multiprocessing.pool.ThreadPool(4) + pool = multiprocessing.pool.ThreadPool(8) # Since we are going to multi-thread, we need to make a partial function # call so that all the function needs is an iterable to run partial_get_pagure_projects_page = partial(