kojira: remove early task check which prevents expired repo cleanup, we also check before creating new tasks

This commit is contained in:
Mike Bonnet 2010-06-17 12:03:21 -04:00
parent 932d143a33
commit a455c356bb

View file

@ -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