https://prefect.io logo
Title
d

Daniel Komisar

03/23/2022, 3:44 PM
Hello everyone, in prefect cloud is there any way to turn off the Lazarus retry? Thank you.
k

Kevin Kho

03/23/2022, 3:46 PM
Yes. Go to the Flow Settings and then you should see Lazarus on the Flow and you can turn it off. Has it been disruptive for you?
d

Daniel Komisar

03/23/2022, 4:10 PM
A little bit, just unexpected. Is there a way to do this through the command line, or globally for all flows?
k

Kevin Kho

03/23/2022, 4:13 PM
Not really, you’d need to loop through the Flows. But you can do it through the GraphQL API so maybe you can have a loop that goes through it.
d

Daniel Komisar

03/23/2022, 5:27 PM
If heartbeats are turned off does that also prevent Lazarus in practice, or do other things besides missing heartbeats trigger it?
k

Kevin Kho

03/23/2022, 5:33 PM
If heartbeats are turned off, it does but then your Flow will forever be in a running state even if a pod dies because we have no way to track