github.com/go-redis/redis/v8/internal/pool.Stats.StaleConns (field)
8 uses
github.com/go-redis/redis/v8/internal/pool (current package)
pool.go#L35: StaleConns uint32 // number of stale connections removed from the pool
pool.go#L403: StaleConns: atomic.LoadUint32(&p.stats.StaleConns),
pool.go#L489: atomic.AddUint32(&p.stats.StaleConns, uint32(n))
github.com/go-redis/redis/v8
cluster.go#L980: acc.StaleConns += s.StaleConns
cluster.go#L991: acc.StaleConns += s.StaleConns
![]() |
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. |