From edd7cf8967a95d9009dfa0bd82233f35fd6c0500 Mon Sep 17 00:00:00 2001 From: crystalstall Date: Fri, 6 Sep 2024 11:39:22 +0800 Subject: [PATCH] chore: fix function name (#4416) Signed-off-by: crystalstall --- client/control.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/control.go b/client/control.go index eeea1285..3e20c312 100644 --- a/client/control.go +++ b/client/control.go @@ -230,7 +230,7 @@ func (ctl *Control) registerMsgHandlers() { ctl.msgDispatcher.RegisterHandler(&msg.Pong{}, ctl.handlePong) } -// headerWorker sends heartbeat to server and check heartbeat timeout. +// heartbeatWorker sends heartbeat to server and check heartbeat timeout. func (ctl *Control) heartbeatWorker() { xl := ctl.xl