github.com/go-redis/redis/v8/internal/pool.ConnPool.idleConns (field)
17 uses
github.com/go-redis/redis/v8/internal/pool (current package)
pool.go#L80: idleConns []*Conn
pool.go#L98: idleConns: make([]*Conn, 0, opt.PoolSize),
pool.go#L140: p.idleConns = append(p.idleConns, cn)
pool.go#L310: if len(p.idleConns) == 0 {
pool.go#L314: idx := len(p.idleConns) - 1
pool.go#L315: cn := p.idleConns[idx]
pool.go#L316: p.idleConns = p.idleConns[:idx]
pool.go#L335: p.idleConns = append(p.idleConns, cn)
pool.go#L441: p.idleConns = nil
pool.go#L494: if len(p.idleConns) == 0 {
pool.go#L498: cn := p.idleConns[0]
pool.go#L503: p.idleConns = append(p.idleConns[:0], p.idleConns[1:]...)
![]() |
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. |