set minimum permissions for go.yaml

Signed-off-by: Gabriela Gutierrez <gabigutierrez@google.com>
1 file changed
tree: ea1efe0ee347838026f89146377dc77afd30a222
  1. .github/
  2. .gitignore
  3. backoff.go
  4. backoff_test.go
  5. context.go
  6. context_test.go
  7. example_test.go
  8. exponential.go
  9. exponential_test.go
  10. go.mod
  11. LICENSE
  12. README.md
  13. retry.go
  14. retry_test.go
  15. ticker.go
  16. ticker_test.go
  17. timer.go
  18. tries.go
  19. tries_test.go
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.