A few more threads for querying pagure.
This commit is contained in:
parent
eec6e8b8fd
commit
dd2e853a17
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue