kops/vendor/github.com/cenkalti/backoff/v3
Ole Markus With 7a7aa77b44 Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
..
.gitignore Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
.travis.yml Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
BUILD.bazel Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
LICENSE Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
README.md Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
backoff.go Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
context.go Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
exponential.go Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
retry.go Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
ticker.go Bump cert-manager dependency 2021-10-14 20:46:36 +02:00
tries.go Bump cert-manager dependency 2021-10-14 20:46:36 +02:00

README.md

Exponential Backoff GoDoc Build Status Coverage Status

This is a Go port of the exponential backoff algorithm from Google's HTTP Client Library for Java.

Exponential backoff is an algorithm that uses feedback to multiplicatively decrease the rate of some process, in order to gradually find an acceptable rate. The retries exponentially increase and stop increasing when a certain threshold is met.

Usage

See https://godoc.org/github.com/cenkalti/backoff#pkg-examples

Contributing

  • I would like to keep this library as small as possible.
  • Please don't send a PR without opening an issue and discussing it first.
  • If proposed change is not a common use case, I will probably not accept it.