Skip to content

Commit

Permalink
fix heart beat bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luky116 committed Dec 21, 2024
1 parent cd8588e commit ff60240
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/remoting/processor/client/client_heart_beat_processon.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@ func (f *clientHeartBeatProcessor) Process(ctx context.Context, rpcMessage messa
log.Debug("received PONG from {}", ctx)
}
}
msgFuture := getty.GetGettyRemotingInstance().GetMessageFuture(rpcMessage.ID)
msgFuture := getty.GetGettyRemotingClient().GetMessageFuture(rpcMessage.ID)
if msgFuture != nil {
getty.GetGettyRemotingInstance().RemoveMessageFuture(rpcMessage.ID)
getty.GetGettyRemotingClient().RemoveMessageFuture(rpcMessage.ID)
}
return nil
}

0 comments on commit ff60240

Please sign in to comment.