Comments (5)
@MarcoVigna17 I updated the readme and added information about breaker
compatibility here
7a5261c
from retry.
Hi, @MarcoVigna17! Thanks for the report.
The function (second parameter of retry.Do) must accept a context as parameter. This is not reflected in the documentation
Yes, sorry for that, v5 is still unstable (the latest version is v5.0.0-rc5), and I didn't sync the readme. I fix that soon.
About the first point: I have an issue with an update of the interface, and it is partially implemented.
So, I can suggest using:
- retry/v4 together with breaker any version
- retry/v5-rc together with breaker/v1.2-rc
from retry.
I added the Err() method to the breakers here.
from retry.
Thanks for the feedback @kamilsk.
I will try what you suggested today
from retry.
I close the issue but feel free to reopen it if needed.
from retry.
Related Issues (20)
- unstable behavior on high load
- provide wrappers for retriable error HOT 2
- rename DoAsync to Go
- describe how to switch from v4 to v5
- goroutine leak in v4 HOT 1
- strategy for context modification HOT 1
- Preserve context values HOT 5
- fix lint issues and coverage report
- review tests
- mark CheckError as experimental feature and add typical mistakes HOT 1
- Less may be more HOT 1
- how to guide
- convert internal types to aliases
- improve work with timer
- go playground examples
- unexpected Limit behavior HOT 1
- wat moment: Schrödinger's bug
- prepare to switch to go.octolab.org/retry
- simplify hugo logic
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from retry.