reverse score ordering for tags
Fixes: https://pagure.io/koji/issue/2021
This commit is contained in:
parent
31d5195456
commit
c899049fac
1 changed files with 1 additions and 1 deletions
|
|
@ -750,7 +750,7 @@ class RepoManager(object):
|
|||
debuginfo_pat = self.options.debuginfo_tags.split()
|
||||
src_pat = self.options.source_tags.split()
|
||||
separate_src_pat = self.options.separate_source_tags.split()
|
||||
order = sorted(self.needed_tags.values(), key=lambda t: t['score'])
|
||||
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.info("Maximum number of repo tasks reached")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue