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

linter should be happy now

This commit is contained in:
Nedyalko Dyakov
2025-10-26 00:16:43 +03:00
parent 5ff5463c4a
commit 0878735280

View File

@@ -45,14 +45,6 @@ var (
noExpiration = maxTime
)
var timers = sync.Pool{
New: func() interface{} {
t := time.NewTimer(time.Hour)
t.Stop()
return t
},
}
// Stats contains pool state information and accumulated stats.
type Stats struct {
Hits uint32 // number of times free connection was found in the pool