Mainflux.mainflux/vendor/github.com/cenkalti/backoff/v4
Dušan Borovčanin 412593ae94
NOISSUE - Update dependencies (#1838)
* Update dependencies

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Update dependencies

Fix Timescale Reader bug.

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Revert influxdb-reader changes

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

* Update dependencies to latest supported versions

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>

---------

Signed-off-by: dusanb94 <dusan.borovcanin@mainflux.com>
Co-authored-by: Drasko DRASKOVIC <drasko.draskovic@gmail.com>
2023-07-06 20:44:12 +02:00
..
.gitignore NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
LICENSE NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
README.md NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
backoff.go NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
context.go NOISSUE - Update dependencies (#1453) 2021-08-24 13:41:57 +02:00
exponential.go NOISSUE - Fix Nginx entrypoint script (#1597) 2022-04-26 18:41:22 +02:00
retry.go NOISSUE - Update dependencies (#1838) 2023-07-06 20:44:12 +02:00
ticker.go NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
timer.go NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01:00
tries.go NOISSUE - Add health check for MQTT broker (#1305) 2021-01-05 19:45:09 +01: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

Import path is github.com/cenkalti/backoff/v4. Please note the version part at the end.

Use https://pkg.go.dev/github.com/cenkalti/backoff/v4 to view the documentation.

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.