init last progress on worker context
This commit is contained in:
parent
e08a9aa2ab
commit
1d52dc684d
|
@ -38,6 +38,7 @@ class WorkerContext:
|
|||
self.logs = logs
|
||||
self.pending = pending
|
||||
self.active_pid = active_pid
|
||||
self.last_progress = None
|
||||
|
||||
def is_cancelled(self) -> bool:
|
||||
return self.cancel.value
|
||||
|
|
Loading…
Reference in New Issue