github.com/go-redis/redis/v8.RingOptions.MaxRetries (field)
6 uses
github.com/go-redis/redis/v8 (current package)
ring.go#L74: MaxRetries int
ring.go#L108: if opt.MaxRetries == -1 {
ring.go#L109: opt.MaxRetries = 0
ring.go#L110: } else if opt.MaxRetries == 0 {
ring.go#L111: opt.MaxRetries = 3
ring.go#L601: for attempt := 0; attempt <= c.opt.MaxRetries; attempt++ {
![]() |
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. |