Hey Casey, They are all retried using the same policy.
The constants that control the delay are here: https://github.com/juju/juju/blob/master/apiserver/retrystrategy/retrystrategy.go#L21 Basically it's an exponential backoff with a factor of 2 that starts at 5 seconds and has a maximum of 5 minutes, so 5, 10, 20...up to 300 seconds. Iirc attempting a manual retry will reset this timer. It also never gives up. Cheers, Bogdan On Jun 30, 2016, at 6:52 PM, Casey Marshall <casey.marsh...@canonical.com<mailto:casey.marsh...@canonical.com>> wrote: What is the intended behavior for automatic hook retries in Juju 2.0? Specifically, I'd like to know, as a Juju user: Are errors in hooks all retried with the same policy, or are some retried with a different policy / strategy than others (install, for example)? Is there a limit to the number of times Juju will retry a hook error before "giving up"? What kind of delay can I expect between retries? Thanks, Casey
-- Juju-dev mailing list Juju-dev@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/juju-dev