forked from huawei/mindspore2022
!19619 fixed heartbeat timeout
Merge pull request !19619 from anancds/timeout
This commit is contained in:
commit
835161dc18
|
|
@ -449,7 +449,7 @@ bool AbstractNode::Heartbeat(const std::shared_ptr<TcpClient> &client) {
|
|||
heartbeat_message.set_node_id(node_info_.node_id_);
|
||||
|
||||
if (!SendMessageSync(client, meta, Protos::PROTOBUF, heartbeat_message.SerializeAsString().data(),
|
||||
heartbeat_message.ByteSizeLong())) {
|
||||
heartbeat_message.ByteSizeLong(), kCommTimeoutInSeconds)) {
|
||||
MS_LOG(WARNING) << "The node id:" << node_info_.node_id_ << " Send heartbeat timeout!";
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue