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,
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |