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

PoolStats is an alias for pool.Stats

This commit is contained in:
Vladimir Mihailenco
2017-09-11 10:12:00 +03:00
parent aeb93fd3cb
commit 09176ef4fa
3 changed files with 6 additions and 20 deletions

View File

@ -125,6 +125,7 @@ var _ = Describe("pool", func() {
Timeouts: 0,
TotalConns: 1,
FreeConns: 1,
StaleConns: 0,
}))
time.Sleep(2 * time.Second)
@ -136,6 +137,7 @@ var _ = Describe("pool", func() {
Timeouts: 0,
TotalConns: 0,
FreeConns: 0,
StaleConns: 1,
}))
})
})