My flow subflow is stuck in running state, but all tasks are completed..
Is there a timeout on flow?
b
Bianca Hoch
04/17/2023, 3:56 PM
Hey Nakul! You can set the
timeout_seconds
argument on the flow to specify a maximum runtime. You could also set up an Automation from the UI which cancels a run after X amount of hours/days if you'd like.
🙌 1
n
nakul bajaj
04/19/2023, 7:59 AM
Thanks Bianca
That worked and thanks for sharing about automation too.
I didn't realise the time out on my cloud run, it was defaulted to 600sec.. so I changed the block to 3600, and didn't have issues after.
Basically subflow task was waiting to be run, but underlying infra was dead.
nakul bajaj
04/19/2023, 8:00 AM
Maybe a feedback loop in the future into task failure can help debug bit faster.
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.