Skip to content

Commit

Permalink
release actor lock when set_subtask_result (#3210)
Browse files Browse the repository at this point in the history
  • Loading branch information
chaokunyang committed Aug 9, 2022
1 parent bfb6e73 commit 14c9339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mars/services/task/supervisor/task.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ async def set_subtask_result(self, subtask_result: SubtaskResult):
"Set subtask %s with result %s.", subtask_result.subtask_id, subtask_result
)
if self._cur_processor is not None:
await self._cur_processor.set_subtask_result(subtask_result)
yield self._cur_processor.set_subtask_result(subtask_result)

def is_done(self) -> bool:
for processor in self._task_id_to_processor.values():
Expand Down

0 comments on commit 14c9339

Please sign in to comment.