Hello! Can anyone help me understand MAX_ATTEMPTS?...
# ask-metaflow
j
Hello! Can anyone help me understand MAX_ATTEMPTS? Got this from the repo but couldnt find more.
MAX_ATTEMPTS is the maximum number of attempts, including the first task, retries, and the final fallback task and its retries.
I am happy it is there, I am running subprocess on the batch tasks and due to change in EC2 instances for the CE, the timeout for them was too short, leading to many fails. They were caught by the @catch decorator for my steps. Eventually the flow crashed with something like, "too many retries! Max_attempts exceeded (6)" or so. What I am trying to understand is what exactly is being counted? Is it 6 retires on any one workers consecutively? Thank you!
1