Adi Gandra
03/02/2022, 4:16 PMAnna Geller
Adi Gandra
03/02/2022, 4:28 PMAnna Geller
@task(timeout=120)
2) A bit more effort but more reliable: you could separate out this "problematic" task into a separate flow and call it within the "parent" flow using create_flow_run
task. This way, you could set a time-based SLA Automation on the flow that does this FTP processing and SLA is very reliable so you could this way ensure that any time this flow takes longer than say 3 minutes, the flow run should be canceled.Kevin Kho
Anna Geller
Adi Gandra
03/02/2022, 4:38 PM