async def run(self, server): gcs_channel = self._dashboard_head.aiogrpc_gcs_channel self._gcs_actor_info_stub = gcs_service_pb2_grpc.ActorInfoGcsServiceStub( gcs_channel ) await asyncio.gather(self._update_actors())
async def run(self, server): self._gcs_job_info_stub = gcs_service_pb2_grpc.JobInfoGcsServiceStub( self._dashboard_head.aiogrpc_gcs_channel ) self._gcs_actor_info_stub = gcs_service_pb2_grpc.ActorInfoGcsServiceStub( self._dashboard_head.aiogrpc_gcs_channel )
def register_gcs_client(self, gcs_channel: grpc.aio.Channel): self._gcs_actor_info_stub = gcs_service_pb2_grpc.ActorInfoGcsServiceStub( gcs_channel) self._gcs_pg_info_stub = gcs_service_pb2_grpc.PlacementGroupInfoGcsServiceStub( gcs_channel) self._gcs_node_info_stub = gcs_service_pb2_grpc.NodeInfoGcsServiceStub( gcs_channel) self._gcs_worker_info_stub = gcs_service_pb2_grpc.WorkerInfoGcsServiceStub( gcs_channel)
async def run(self, server): gcs_channel = self._dashboard_head.aiogrpc_gcs_channel self._gcs_job_info_stub = \ gcs_service_pb2_grpc.JobInfoGcsServiceStub(gcs_channel) self._gcs_actor_info_stub = \ gcs_service_pb2_grpc.ActorInfoGcsServiceStub(gcs_channel) await asyncio.gather(self._update_node_stats(), self._update_actors(), self._update_log_info(), self._update_error_info())