https://prefect.io logo
Title
p

Pedro Machado

04/19/2022, 2:20 PM
Hi everyone. We are using
wait_for_flow_run
to wait for a subflow run. The subflow is a long-running job that can take more than 12 hours and sometimes it times out. I noticed that
wait_for_flow_run
uses
watch_flow_run
which raises an exception if the flow has been running for more than 12 hours. The 12 hours timeout is hardcoded. See https://github.com/PrefectHQ/prefect/blob/afda99411f91582ad187bf33671268d8d3c3c2c0/src/prefect/backend/flow_run.py#L95 We plan to upgrade to 2.0 shortly after it's released. Is this timeout limitation for subflows also implemented in Orion?
k

Kevin Kho

04/19/2022, 2:29 PM
Someone if working on a fix for this here you can track it. The subflow call isn’t as straightforward yet in Orion