open-vault/vendor/github.com/cenkalti/backoff
ncabatoff b615da43d7
Run CI tests in docker instead of a machine. (#8948)
2020-09-15 10:01:26 -04:00
..
v3 Run CI tests in docker instead of a machine. (#8948) 2020-09-15 10:01:26 -04:00
.gitignore Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
.travis.yml Switch to go modules (#6585) 2019-04-13 03:44:06 -04:00
LICENSE Bump deps 2018-02-10 19:29:52 -05:00
README.md Update Deps (#5454) 2018-10-03 09:55:26 -07:00
backoff.go Bump deps 2018-02-10 19:29:52 -05:00
context.go Update Deps (#5454) 2018-10-03 09:55:26 -07:00
exponential.go Update Deps (#5454) 2018-10-03 09:55:26 -07:00
retry.go Update deps (#6580) 2019-04-12 11:51:37 -04:00
ticker.go Bump Deps (#4868) 2018-07-06 12:09:34 -04:00
tries.go Bump deps 2018-02-10 19:29:52 -05: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.