Check if all task are complete on fail task
This commit is contained in:
parent
c01245a4e0
commit
2c3f1ba7ad
1 changed files with 1 additions and 1 deletions
|
@ -579,4 +579,4 @@ class WorkerManager(object):
|
|||
self.site.onFileFail(task["inner_path"])
|
||||
task["evt"].set(False)
|
||||
if not self.tasks:
|
||||
self.started_task_num = 0
|
||||
self.site.greenlet_manager.spawn(self.checkComplete)
|
||||
|
|
Loading…
Reference in a new issue