Merge pull request #381 from FirmlyReality/batch
Fix a bug of task completed
This commit is contained in:
commit
729f1cec2f
|
@ -515,6 +515,7 @@ class TaskMgr(threading.Thread):
|
||||||
task.status = FAILED
|
task.status = FAILED
|
||||||
task.failed_reason = report.errmsg
|
task.failed_reason = report.errmsg
|
||||||
elif report.subTaskStatus == COMPLETED:
|
elif report.subTaskStatus == COMPLETED:
|
||||||
|
sub_task.status = report.subTaskStatus
|
||||||
self.clear_sub_task(sub_task)
|
self.clear_sub_task(sub_task)
|
||||||
|
|
||||||
# return task, workers
|
# return task, workers
|
||||||
|
|
Loading…
Reference in New Issue