chore: fix function name (#4416)

Signed-off-by: crystalstall <crystalruby@qq.com>
This commit is contained in:
crystalstall
2024-09-06 11:39:22 +08:00
committed by GitHub
parent 03c8d7bf96
commit edd7cf8967

View File

@@ -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