Hello, would anyone here know how to set a timeout...
# ask-community
d
Hello, would anyone here know how to set a timeout for "Pending" and "Cancelling" states? These states seem to ignore any timeout settings we're aware of.
b
Hi Dave 👋 If you're using Prefect Cloud have you tried setting an automation which cancels flow runs that are stuck in
Pending
and
Cancelling
for X amount of time?
d
Yes, I'm using it for Pedning and automation to "cancel" a flow run will result in the flow run getting stuck in "Cancelling"
As far as I can tell an automation can't do anything to a "Cancelling" flow run