github.com/go-redis/redis/v8/internal/pool.ConnPool.dialErrorsNum (field)
4 uses
github.com/go-redis/redis/v8/internal/pool (current package)
pool.go#L72: dialErrorsNum uint32 // atomic
pool.go#L175: if atomic.LoadUint32(&p.dialErrorsNum) >= uint32(p.opt.PoolSize) {
pool.go#L182: if atomic.AddUint32(&p.dialErrorsNum, 1) == uint32(p.opt.PoolSize) {
pool.go#L207: atomic.StoreUint32(&p.dialErrorsNum, 0)
![]() |
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. |