Top 4.8% dependent repos on proxy.golang.org
proxy.golang.org : github.com/arsham/retry
Package retry invokes a given function until it succeeds. It sleeps in between attempts based the DelayMethod. It is useful in situations that an action might succeed after a few attempt due to unavailable resources or waiting for a condition to happen. The default DelayMethod sleeps exactly the same amount of time between attempts. You can use the IncrementalDelay method to increment the delays between attempts. It gives a jitter to the delay to prevent Thundering herd problems. If the delay is 0 in either case, it does not sleep between tries.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/arsham/retry
Keywords:
go
, golang
, golang-library
License: Apache-2.0
Latest release: almost 3 years ago
First release: almost 5 years ago
Namespace: github.com/arsham
Dependent packages: 5
Dependent repositories: 1
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 13 days ago
github.com/askiada/go-sql-test v0.0.1
4 versions - Latest release: 11 months ago - 0 stars on GitHubgithub.com/arsham/dbtools/v2 v2.0.2
Package dbtools contains logic for database transaction, using the retry library.3 versions - Latest release: over 2 years ago - 3 stars on GitHub
github.com/arsham/dbtools v0.6.5
Package dbtools contains logic for database transaction, using the retry library.14 versions - Latest release: about 3 years ago - 3 stars on GitHub
github.com/arsham/dbtesting v0.6.5
14 versions - Latest release: about 3 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.