secrets-manager
secrets-manager copied to clipboard
consider using a single backoff algorithm everywhere
there are various backoff algorithms in the codebase
determine all of them
rewrite them to use https://pkg.go.dev/github.com/cenkalti/backoff/v4
it’s better to rely on a tried and tested algorithm than using our own. plus it will give more flexibility when needed.
That's one option.
The other option is to update our existing backoff code based on how the above library is implemented.
both approaches have their pros and cons.