mirror of
https://github.com/redis/go-redis.git
synced 2025-07-20 22:42:59 +03:00
Reduce ClusterOptions.MaxRedirects from 16 to 8
This commit is contained in:
@ -58,7 +58,7 @@ func (opt *ClusterOptions) init() {
|
||||
if opt.MaxRedirects == -1 {
|
||||
opt.MaxRedirects = 0
|
||||
} else if opt.MaxRedirects == 0 {
|
||||
opt.MaxRedirects = 16
|
||||
opt.MaxRedirects = 8
|
||||
}
|
||||
|
||||
if opt.RouteByLatency {
|
||||
|
Reference in New Issue
Block a user