go-redis
go-redis copied to clipboard
Default MaxRetries on cluster clients is -1 and not 3
Expected Behavior
I believe the MaxRetries
default value should be the same for clusters and standalone mode, unless it's intended?
Current Behavior
This commit added a specific disable to MaxRetries
in ClusterOptions
as opposed to Options
which defaults to 3.
Possible Solution
If it's intended, we should add documentation in the code at least. If it's not, then it's a simple fix :)
Thanks