Skip to content

Commit bbe5f26

Browse files
committed
polish
1 parent d7473e7 commit bbe5f26

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

distributed/worker.py

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2047,14 +2047,8 @@ def transition_missing_released(
20472047
def transition_flight_missing(
20482048
self, ts: TaskState, *, stimulus_id: str
20492049
) -> RecsInstrs:
2050-
if self.validate:
2051-
assert ts.done
2052-
assert not ts.who_has
2053-
2054-
ts.state = "missing"
2055-
self._missing_dep_flight.add(ts)
2056-
ts.done = False
2057-
return {}, []
2050+
assert ts.done
2051+
return self.transition_generic_missing(ts, stimulus_id=stimulus_id)
20582052

20592053
def transition_generic_missing(
20602054
self, ts: TaskState, *, stimulus_id: str

0 commit comments

Comments
 (0)