more debug info for un/tracked tasks in kojira
Relates: https://pagure.io/koji/issue/2119
This commit is contained in:
parent
5c7a465b70
commit
bc378d1775
1 changed files with 3 additions and 0 deletions
|
|
@ -850,9 +850,12 @@ class RepoManager(object):
|
|||
order = sorted(self.needed_tags.values(), key=lambda t: t['score'], reverse=True)
|
||||
for tag in order:
|
||||
if running_tasks >= self.options.max_repo_tasks:
|
||||
self.logger.debug("Running tasks (%s): %s" % list(running_tasks))
|
||||
self.logger.info("Maximum number of repo tasks reached")
|
||||
return
|
||||
elif len(self.tasks) + len(self.other_tasks) >= self.options.repo_tasks_limit:
|
||||
self.logger.debug("Tracked tasks (%s): %s" % list(self.tasks))
|
||||
self.logger.debug("Untracked tasks (%s): %s" % list(self.other_tasks))
|
||||
self.logger.info("Repo task limit reached")
|
||||
return
|
||||
tagname = tag['taginfo']['name']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue