Skip to content

Commit

Permalink
Update TcpRemotingClient.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ShannonDing authored Apr 17, 2019
1 parent 8541939 commit 7e9f70d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transport/TcpRemotingClient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ bool TcpRemotingClient::invokeHeartBeat(const string& addr, RemotingCommand& req
return true;
} else {
LOG_WARN("get error response:%d of heartbeat to addr:%s", pRsp->getCode(), addr.c_str());
findAndDeleteResponseFuture(opaque);
return false;
}
} else {
findAndDeleteResponseFuture(opaque);
CloseTransport(addr, pTcp);
}
}
Expand Down

0 comments on commit 7e9f70d

Please sign in to comment.