1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

Tweak pool stats.

This commit is contained in:
Vladimir Mihailenco
2016-01-25 15:57:09 +02:00
parent d2b13f523d
commit 6c7b789b3a
3 changed files with 18 additions and 15 deletions

View File

@ -195,6 +195,5 @@ func NewClient(opt *Options) *Client {
// PoolStats returns connection pool stats
func (c *Client) PoolStats() *PoolStats {
stats := c.baseClient.connPool.Stats()
return &stats
return c.connPool.Stats()
}