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:
@@ -20,5 +20,5 @@ func (p *ConnPool) CheckMinIdleConns() {
|
||||
}
|
||||
|
||||
func (p *ConnPool) QueueLen() int {
|
||||
return int(p.semaphore.len())
|
||||
return int(p.semaphore.count.Load())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user