1
0
mirror of https://github.com/redis/go-redis.git synced 2025-12-02 06:22:31 +03:00

fix linter issues

This commit is contained in:
Nedyalko Dyakov
2025-10-25 22:52:37 +03:00
parent 9ec5daee11
commit f8feb0ed4e
3 changed files with 19 additions and 34 deletions

View File

@@ -20,5 +20,5 @@ func (p *ConnPool) CheckMinIdleConns() {
}
func (p *ConnPool) QueueLen() int {
return int(p.semaphore.len())
return int(p.semaphore.count.Load())
}