Skip to content

Commit

Permalink
fix merge
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky committed Jun 2, 2022
1 parent 3e77c1b commit e1058fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions distributed/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2901,8 +2901,8 @@ def _handle_instructions(self, instructions: Instructions) -> None:
for inst in instructions:
task: asyncio.Task | None = None

if isinstance(inst, SendMessageToScheduler):
self.batched_send(inst.to_dict())
if isinstance(inst, SendMessageToScheduler):
self.batched_send(inst.to_dict())

elif isinstance(inst, GatherDep):
assert inst.to_gather
Expand Down

0 comments on commit e1058fe

Please sign in to comment.