Skip to content

Commit

Permalink
[ISSUE #163] clean heartbeat from PendingResponse
Browse files Browse the repository at this point in the history
  • Loading branch information
scott.wang authored and AlexStocks committed Aug 14, 2019
1 parent 6043f79 commit 9e718c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocol/dubbo/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ func (h *RpcClientHandler) OnMessage(session getty.Session, pkg interface{}) {
if p.Err != nil {
logger.Errorf("rpc heartbeat response{error: %#v}", p.Err)
}
h.conn.pool.rpcClient.removePendingResponse(SequenceType(p.Header.ID))
return
}
logger.Debugf("get rpc response{header: %#v, body: %#v}", p.Header, p.Body)
Expand Down

0 comments on commit 9e718c2

Please # to comment.