From cac7aa8c367f11064663d3980472a76db1486ad0 Mon Sep 17 00:00:00 2001 From: Vladimir Mihailenco Date: Tue, 27 Feb 2018 15:01:10 +0200 Subject: [PATCH] Reduce ClusterOptions.MaxRedirects from 16 to 8 --- cluster.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster.go b/cluster.go index 8b01a51..dc4db24 100644 --- a/cluster.go +++ b/cluster.go @@ -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 {