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

Method freeTurn

internal/pool/pool.go:1136–1138  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1134}
1135
1136func (p *ConnPool) freeTurn() {
1137 p.semaphore.Release()
1138}
1139
1140func (p *ConnPool) popIdle() (*Conn, error) {
1141 if p.closed() {

Callers 5

checkMinIdleConnsMethod · 0.95
getConnMethod · 0.95
queuedNewConnMethod · 0.95
putConnMethod · 0.95
removeConnInternalMethod · 0.95

Calls 1

ReleaseMethod · 0.45

Tested by

no test coverage detected