Skip to content

Commit

Permalink
drop end_workflow! comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock authored and agrare committed Jun 13, 2024
1 parent 8bf3971 commit d603530
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/floe/workflow.rb
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,6 @@ def step!
context.state = next_state
end

# Avoiding State#running? because that is potentially expensive.
# State#run_nonblock! already called running? via State#ready? and
# called State#finished -- which is what Context#state_finished? is detecting
def end_workflow!
context.execution["EndTime"] = context.state["FinishedTime"]
end
Expand Down

0 comments on commit d603530

Please sign in to comment.