forked from adrienmo/eredis_cluster
-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Turning off retries (not counting redirects) allows a project to have their own failure and retry handling, such as:
- Logging errors in custom ways
- Having custom back-off timer logic
- Tweaking the number of retries depending on the type of the error
Possible ways to turn off retries:
- Add an optional number-of-retries parameter to each function
- Add a number-of-retries option as an application configuration parameter ⭐
As indicated, I'm leaning towards the 2nd option, since it doesn't clutter the API as much as the 1st option, but there might be other aspects that I haven't thought of.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels