Skip to content

Commit 4737cd6

Browse files
authored
Merge pull request #297 from agrare/fix_child_workflow_mixin_tight_loop
Fix child workflow mixin tight loop
2 parents 589d253 + 63044e0 commit 4737cd6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/floe/workflow/states/child_workflow_mixin.rb

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ module States
66
module ChildWorkflowMixin
77
def run_nonblock!(context)
88
start(context) unless context.state_started?
9-
10-
step_nonblock!(context) while running?(context)
9+
step_nonblock!(context)
1110
return Errno::EAGAIN unless ready?(context)
1211

1312
finish(context) if ended?(context)

0 commit comments

Comments
 (0)