aboutsummaryrefslogtreecommitdiff
path: root/bugzilla_populate_user_relations_table.py
diff options
context:
space:
mode:
authorcpettet <rush@wikimedia.org>2014-11-19 19:11:51 -0600
committercpettet <rush@wikimedia.org>2014-11-19 19:11:51 -0600
commit2fd30e97842f405ef975077e3e955df9c495eb76 (patch)
tree1d2127e4f87a47e099b8001d414be4dd5d1f0a0f /bugzilla_populate_user_relations_table.py
parent08b6cd2bca890d7fcdb27e324156623bb0416d4c (diff)
make bz populate multi configurable
Diffstat (limited to 'bugzilla_populate_user_relations_table.py')
-rwxr-xr-xbugzilla_populate_user_relations_table.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bugzilla_populate_user_relations_table.py b/bugzilla_populate_user_relations_table.py
index ba69b78..04a7248 100755
--- a/bugzilla_populate_user_relations_table.py
+++ b/bugzilla_populate_user_relations_table.py
@@ -170,7 +170,7 @@ def run_populate(bugid, tries=1):
def main():
bugs = return_bug_list()
from multiprocessing import Pool
- pool = Pool(processes=10)
+ pool = Pool(processes=int(config.bz_populate_multi))
_ = pool.map(run_populate, bugs)
complete = len(filter(bool, _))
failed = len(_) - complete