fix function name in comment

Signed-off-by: cuinix <915115094@qq.com>
This commit is contained in:
cuinix 2024-03-06 15:49:06 +08:00
parent 32f09c4b60
commit 0f0a4dcf20

View File

@ -232,7 +232,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