github.com/go-redis/redis/v8/internal/pool.Options.PoolSize (field)
9 uses
github.com/go-redis/redis/v8/internal/pool (current package)
pool.go#L57: PoolSize int
pool.go#L96: queue: make(chan struct{}, opt.PoolSize),
pool.go#L97: conns: make([]*Conn, 0, opt.PoolSize),
pool.go#L98: idleConns: make([]*Conn, 0, opt.PoolSize),
pool.go#L117: for p.poolSize < p.opt.PoolSize && p.idleConnsLen < p.opt.MinIdleConns {
pool.go#L159: if p.poolSize >= p.opt.PoolSize {
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) {
github.com/go-redis/redis/v8
options.go#L262: PoolSize: opt.PoolSize,
 |
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. |