Hi everyone. We are using `wait_for_flow_run` to w...
# ask-community
p
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
Someone if working on a fix for this here you can track it. The subflow call isn’t as straightforward yet in Orion