diff --git a/internal/proxy/connection/manager.go b/internal/proxy/connection/manager.go index 500ec9aa16a57..2707256f6f7ef 100644 --- a/internal/proxy/connection/manager.go +++ b/internal/proxy/connection/manager.go @@ -42,7 +42,7 @@ func (s *connectionManager) Stop() { func (s *connectionManager) checkLoop() { defer s.wg.Done() - t := time.NewTicker(paramtable.Get().ProxyCfg.ConnectionCheckIntervalSeconds.GetAsDuration(time.Second)) + t := time.NewTimer(paramtable.Get().ProxyCfg.ConnectionCheckIntervalSeconds.GetAsDuration(time.Second)) defer t.Stop() for {