Skip to content

Commit

Permalink
Reduce ClusterOptions.MaxRedirects from 16 to 8
Browse files Browse the repository at this point in the history
  • Loading branch information
vmihailenco committed Feb 27, 2018
1 parent cc47cf2 commit cac7aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit cac7aa8

Please sign in to comment.