https://prefect.io logo
Title
m

Missi Sogbohossou

04/11/2023, 2:12 PM
Hi Prefect Community! Is it possible to limit a flow runtime in the Prefect UI? For some background, we have some pipelines that frequently get stuck in a running state. I'm wondering if there is a way to automatically cancel a flow run when it exceeds a specific duration. We're still using Prefect 1.0
z

Zanie

04/11/2023, 4:08 PM
If you’re using Prefect Cloud, yes.
This is a part of our “automations” feature
👍 1
👀 1
m

Missi Sogbohossou

04/13/2023, 4:35 PM
Awesome! Thank you!
I have a follow up question, can I do use "automations" in Prefect cloud with timeouts on specific tasks in the flow? I've haven't seen it. The only option I can think of now is handle it programmatically
z

Zanie

04/13/2023, 5:41 PM
Not in Perfect 1. Tasks allow programmatic timeout configuration though yeah.
:thank_you: 1