Skip to content

Commit

Permalink
fix: set ping (#3734)
Browse files Browse the repository at this point in the history
Co-authored-by: int7 <[email protected]>
  • Loading branch information
blizard863 and int7 authored Oct 30, 2023
1 parent a6478ae commit 46266e4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,8 +298,8 @@ func (ctl *Control) msgHandler() {
xl.Debug("send heartbeat to server")
pingMsg := &msg.Ping{}
if err := ctl.authSetter.SetPing(pingMsg); err != nil {
xl.Warn("error during ping authentication: %v", err)
return
xl.Warn("error during ping authentication: %v. skip sending ping message", err)
continue
}
ctl.sendCh <- pingMsg
case <-hbCheckCh:
Expand Down

0 comments on commit 46266e4

Please sign in to comment.