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 )
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) await asyncio.gather(self._update_node_stats(), self._update_log_info(), self._update_error_info())
def _connect(self): self._channel.connect() self._kv_stub = gcs_service_pb2_grpc.InternalKVGcsServiceStub( self._channel.channel()) self._runtime_env_stub = gcs_service_pb2_grpc.RuntimeEnvGcsServiceStub( self._channel.channel()) self._node_info_stub = gcs_service_pb2_grpc.NodeInfoGcsServiceStub( self._channel.channel()) self._job_info_stub = gcs_service_pb2_grpc.JobInfoGcsServiceStub( self._channel.channel())
async def run(self, server): self._gcs_job_info_stub = gcs_service_pb2_grpc.JobInfoGcsServiceStub( self._dashboard_head.aiogrpc_gcs_channel) await asyncio.gather(self._update_jobs())