Hey, question regarding the timeout, retry and cat...
# ask-metaflow
b
Hey, question regarding the timeout, retry and catch decorators: we have a flow that could run for a minute and can run for 2 days, we want to limit that time for 1 day. i checked the timeout decorator as it seems fit for our use case. in the docs for the timeout i saw that timeout is equal to exception. since we have some issues in our cluster and need sometimes to catch and retry a step (which translate into exception in metaflow). so if i get it right, if i have a step that will run for a day, it will timeout, catch and retry it instead of terminating it. i wonder how i can distinguish between those exceptions and if i can retry based on specific exception (or at least not retry based on specific exception)?