A few more threads for querying pagure.

This commit is contained in:
Ralph Bean 2017-08-11 17:49:26 +00:00
parent eec6e8b8fd
commit dd2e853a17

View file

@ -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(