fn retry_schedule(is_primary: bool) -> RetryDelay
Return a new RetryDelay tracker for a guard.
`is_primary should be true if the guard is primary.