ihrwein / backoff

Exponential backoff and retry for Rust.
https://github.com/ihrwein/backoff
Apache License 2.0
306 stars 37 forks source link

Make SystemClock Clone to make ExponentialBackoff Clone #46

Closed clux closed 2 years ago

clux commented 2 years ago

Continuation of #19 .

Very helpful for application wishing to share the same backoff strategy. Avoids errors described in https://github.com/kube-rs/kube-rs/pull/703#issuecomment-966633046

ihrwein commented 2 years ago

Hello @clux . Thanks for the PR! I've just merged some PRs which created some conflicts between your branch and master - could you do a rebase please?

I can also do it, just let me know.

clux commented 2 years ago

Done :-)