partial unit test with minor fix
This commit is contained in:
parent
25d8e41f31
commit
beac7899ec
2 changed files with 38 additions and 0 deletions
|
|
@ -924,6 +924,8 @@ class TaskManager(object):
|
|||
if now - ts < delay:
|
||||
del self.skipped_tasks[task['id']]
|
||||
return True
|
||||
# otherwise
|
||||
return False
|
||||
|
||||
def cleanDelayTimes(self):
|
||||
"""Remove old entries from skipped_tasks"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue