github.com/go-redis/redis/v8.ClusterOptions.MaxRedirects (field)

13 uses

	github.com/go-redis/redis/v8 (current package)
		cluster.go#L36: 	MaxRedirects int
		cluster.go#L83: 	if opt.MaxRedirects == -1 {
		cluster.go#L84: 		opt.MaxRedirects = 0
		cluster.go#L85: 	} else if opt.MaxRedirects == 0 {
		cluster.go#L86: 		opt.MaxRedirects = 3
		cluster.go#L769: 	for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
		cluster.go#L1093: 	for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
		cluster.go#L1113: 				if attempt < c.opt.MaxRedirects {
		cluster.go#L1280: 		for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
		cluster.go#L1300: 					if attempt < c.opt.MaxRedirects {
		cluster.go#L1450: 	for attempt := 0; attempt <= c.opt.MaxRedirects; attempt++ {
		sentinel.go#L133: 		MaxRedirects: opt.MaxRetries,
		universal.go#L73: 		MaxRedirects:   o.MaxRedirects,