Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
Signed-off-by: vitsai <victoria@anyscale.com>
  • Loading branch information
vitsai committed Jun 22, 2023
1 parent 9d094a7 commit dda3b29
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/ray/core_worker/core_worker.cc
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ CoreWorker::CoreWorker(const CoreWorkerOptions &options, const WorkerID &worker_
std::make_unique<rpc::GrpcServer>(WorkerTypeString(options_.worker_type),
assigned_port,
options_.node_ip_address == "127.0.0.1");
core_worker_server_->RegisterService(grpc_service_);
core_worker_server_->RegisterService(grpc_service_, false /* token_auth */);
core_worker_server_->Run();

// Set our own address.
Expand Down
2 changes: 1 addition & 1 deletion src/ray/object_manager/object_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ void ObjectManager::StartRpcService() {
for (int i = 0; i < config_.rpc_service_threads_number; i++) {
rpc_threads_[i] = std::thread(&ObjectManager::RunRpcService, this, i);
}
object_manager_server_.RegisterService(object_manager_service_);
object_manager_server_.RegisterService(object_manager_service_, false /* token_auth */);
object_manager_server_.Run();
}

Expand Down
4 changes: 2 additions & 2 deletions src/ray/raylet/node_manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -373,8 +373,8 @@ NodeManager::NodeManager(instrumented_io_context &io_service,

RAY_CHECK_OK(store_client_.Connect(config.store_socket_name.c_str()));
// Run the node manger rpc server.
node_manager_server_.RegisterService(node_manager_service_);
node_manager_server_.RegisterService(agent_manager_service_);
node_manager_server_.RegisterService(node_manager_service_, false /* token_auth */);
node_manager_server_.RegisterService(agent_manager_service_, false /* token_auth */);
if (RayConfig::instance().use_ray_syncer()) {
node_manager_server_.RegisterService(ray_syncer_service_);
}
Expand Down

0 comments on commit dda3b29

Please sign in to comment.