project-flogo / flow

Flow is a flow-based process engine implementation for processing event-driven requests.
BSD 3-Clause "New" or "Revised" License
95 stars 38 forks source link

Increase default step count to 10M and expose to env variable #191

Closed vanilcha-tibco closed 9 months ago

vanilcha-tibco commented 10 months ago

Fixes: #

What is the current behavior? Flow goes into the stalled state after the step count is reached (1M)

What is the new behavior? Flow will propagate the error when max step count is reached.

ayh20 commented 10 months ago

I think this needs to be done in a better way. This just increases us from one arbitrary limit to another, at least make it the contents of an int. Also having this as something we can set seems odd ... if you have a process that's going to loop and hit the limit how will the task starter ever know what to see the limit too ?

ayh20 commented 10 months ago

And the other issue is that at present when the limit is hit, processing halts but no error is thrown, so there's no way to know if you've hit the limit