MCPcopy
hub / github.com/redis/go-redis / CheckMinIdleConns

Method CheckMinIdleConns

internal/pool/export_test.go:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16func (p *ConnPool) CheckMinIdleConns() {
17 p.connsMu.Lock()
18 p.checkMinIdleConns()
19 p.connsMu.Unlock()
20}
21
22func (p *ConnPool) QueueLen() int {
23 return int(p.semaphore.Len())

Callers 1

pool_test.goFile · 0.80

Calls 1

checkMinIdleConnsMethod · 0.95

Tested by

no test coverage detected