Compare commits

...

2 Commits

Author SHA1 Message Date
cuinix
f01f024a5c
Merge 0f0a4dcf20f8db20ebbc79b12c75fb865032222d into 8383d528d982fdb746e939dfb9d170b53ef93f7b 2024-03-15 16:03:38 +08:00
cuinix
0f0a4dcf20 fix function name in comment
Signed-off-by: cuinix <915115094@qq.com>
2024-03-06 15:49:06 +08:00

View File

@ -232,7 +232,7 @@ func (ctl *Control) registerMsgHandlers() {
ctl.msgDispatcher.RegisterHandler(&msg.Pong{}, ctl.handlePong) 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() { func (ctl *Control) heartbeatWorker() {
xl := ctl.xl xl := ctl.xl