Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijunfu committed Jul 9, 2019
1 parent 3514156 commit 78bfc24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ray/raylet/node_manager.cc
Expand Up @@ -763,9 +763,11 @@ void NodeManager::ProcessClientMessage(
ProcessRegisterClientRequestMessage(client, message_data);
} break;
case protocol::MessageType::GetTask: {
RAY_CHECK(!registered_worker->UsePush());
ProcessGetTaskMessage(client);
} break;
case protocol::MessageType::TaskDone: {
RAY_CHECK(registered_worker->UsePush());
ProcessGetTaskMessage(client);
} break;
case protocol::MessageType::DisconnectClient: {
Expand Down
1 change: 1 addition & 0 deletions src/ray/raylet/scheduling_resources.h
Expand Up @@ -446,6 +446,7 @@ class ResourceIdSet {
/// \brief Serialize this object as a string.
///
/// \return A serialized string of this object.
/// TODO(zhijunfu): this can be removed after raylet client is migrated to grpc.
const std::string Serialize() const;

private:
Expand Down

0 comments on commit 78bfc24

Please sign in to comment.