secrets-manager icon indicating copy to clipboard operation
secrets-manager copied to clipboard

consider using a single backoff algorithm everywhere

Open v0lkan opened this issue 1 year ago • 0 comments

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.

v0lkan avatar Apr 01 '24 15:04 v0lkan