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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user