kojira: remove early task check which prevents expired repo cleanup, we also check before creating new tasks
This commit is contained in:
parent
932d143a33
commit
a455c356bb
1 changed files with 0 additions and 3 deletions
|
|
@ -360,9 +360,6 @@ class RepoManager(object):
|
|||
del self.tasks[tag_id]
|
||||
#TODO [?] - implement a timeout for active tasks?
|
||||
self.logger.debug("Current tasks: %r" % self.tasks)
|
||||
if len(self.tasks) >= options.max_repo_tasks:
|
||||
self.logger.info("Maximum number of repo tasks reached.")
|
||||
return
|
||||
self.logger.debug("Updating repos")
|
||||
self.readCurrentRepos()
|
||||
#check for stale repos
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue