GoToSocial/vendor/github.com/cenkalti/backoff/v4
dependabot[bot] c097745c38
[chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2818)
Bumps [go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc](https://github.com/open-telemetry/opentelemetry-go) from 1.24.0 to 1.25.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.24.0...v1.25.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-11 11:46:18 +02:00
..
.gitignore feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
LICENSE feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
README.md [chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2818) 2024-04-11 11:46:18 +02:00
backoff.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
context.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
exponential.go [chore]: Bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc (#2818) 2024-04-11 11:46:18 +02:00
retry.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
ticker.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
timer.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00
tries.go feat: initial tracing support (#1623) 2023-05-09 18:19:48 +01:00

README.md

Exponential Backoff GoDoc 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.