boulder icon indicating copy to clipboard operation
boulder copied to clipboard

Unify configuration of retry/backoff behavior

Open aarongable opened this issue 3 years ago • 1 comments

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.

aarongable avatar Feb 07 '22 23:02 aarongable

Blocked until https://github.com/letsencrypt/boulder/pull/6674 is merged.

pgporada avatar Mar 13 '23 18:03 pgporada