Reduce ClusterOptions.MaxRedirects from 16 to 8

This commit is contained in:
Vladimir Mihailenco 2018-02-27 15:01:10 +02:00
parent cc47cf2439
commit cac7aa8c36
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ func (opt *ClusterOptions) init() {
if opt.MaxRedirects == -1 { if opt.MaxRedirects == -1 {
opt.MaxRedirects = 0 opt.MaxRedirects = 0
} else if opt.MaxRedirects == 0 { } else if opt.MaxRedirects == 0 {
opt.MaxRedirects = 16 opt.MaxRedirects = 8
} }
if opt.RouteByLatency { if opt.RouteByLatency {