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 fdcdbf0 commit 17f0c1d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions protocol/dubbo/listener.go
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 17f0c1d

Please sign in to comment.