Skip to content

Recursion bug - Excessive number of processes spawned #5305

Answered by bentsherman
JoshuaEPSamuel asked this question in Q&A
Discussion options

You must be logged in to vote

I think the problem is that the recursive worklfow is only emitting params and none of the process outputs. As a result, the feedback channel doesn't have to wait on the processes and can simply recurse at maximum speed. Looks like you found a dangerous pitfall of workflow recursion 😅

I would just find a way to include some output from PROC5 into the workflow output, even if that means the first invocation has some dummy value

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@bentsherman
Comment options

@JoshuaEPSamuel
Comment options

Answer selected by JoshuaEPSamuel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants