[GCS]Remove useless / heavy heartbeat pub (#11132)

This commit is contained in:
Tao Wang
2020-09-29 23:38:17 -07:00
committed by GitHub
parent 03c11d3b85
commit 15ae8816f7
3 changed files with 0 additions and 4 deletions
@@ -241,8 +241,6 @@ void GcsNodeManager::HandleReportHeartbeat(const rpc::ReportHeartbeatRequest &re
node_failure_detector_->HandleHeartbeat(node_id, *heartbeat_data);
});
GCS_RPC_SEND_REPLY(send_reply_callback, reply, Status::OK());
RAY_CHECK_OK(gcs_pub_sub_->Publish(HEARTBEAT_CHANNEL, node_id.Hex(),
heartbeat_data->SerializeAsString(), nullptr));
}
void GcsNodeManager::HandleGetResources(const rpc::GetResourcesRequest &request,
-1
View File
@@ -32,7 +32,6 @@ namespace gcs {
#define OBJECT_CHANNEL "OBJECT"
#define TASK_CHANNEL "TASK"
#define TASK_LEASE_CHANNEL "TASK_LEASE"
#define HEARTBEAT_CHANNEL "HEARTBEAT"
#define HEARTBEAT_BATCH_CHANNEL "HEARTBEAT_BATCH"
#define ERROR_INFO_CHANNEL "ERROR_INFO"