only start the link checkers when there are links to check
Do not start the ThreadPool when there are no links to check. Change-Id: I355ea5af5d937e6b5d4cf481d9a29c6d3b123f09 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
7890d18566
commit
d9d05a062c
@ -302,6 +302,7 @@ def load_project_data(source_directory,
|
||||
(url, project['name'], flag, flag_val)
|
||||
)
|
||||
|
||||
if links_to_check:
|
||||
logger.info('checking %s links from %s...',
|
||||
len(links_to_check), filename)
|
||||
pool = multiprocessing.pool.ThreadPool()
|
||||
|
Loading…
x
Reference in New Issue
Block a user