boulder
boulder copied to clipboard
Unify configuration of retry/backoff behavior
We've unified how we compute retry/backoff into core.RetryBackoff, which takes four arguments as input: the current retry count, the configured base time between tries, the configured max time between tries, and the exponential rate at which the backoff interval should be increased.
Four different services (mailer, ocsp-updater, bad-key-revoker, and cache-client) all use this. But all of them have completely different mechanisms for configuring the min/max/factor parameters. These should be unified into a single RetryBackoffConfig which all of them can share.
Blocked until https://github.com/letsencrypt/boulder/pull/6674 is merged.