diff --git a/internal/pool/pool.go b/internal/pool/pool.go index 7cd8d7c5..f4508b14 100644 --- a/internal/pool/pool.go +++ b/internal/pool/pool.go @@ -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