Skip to content

Commit

Permalink
terminate workflow executor on pipeline fail
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandf committed Nov 14, 2023
1 parent 9097280 commit ea82a2d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,7 @@ def _on_pipeline_terminal_state(self, event=None, message=""):
event = PIPELINE_FAILED if len(self.state.failed) > 0 else PIPELINE_COMPLETED

if event == PIPELINE_FAILED:
self.terminate()
self._deregister_all_executors()

msg = "COMPLETED"
Expand Down

0 comments on commit ea82a2d

Please sign in to comment.