コード例 #1
0
ファイル: snapshot_head.py プロジェクト: parasj/ray
 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
     )
コード例 #2
0
ファイル: stats_collector_head.py プロジェクト: yncxcw/ray
    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())
コード例 #3
0
 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())
コード例 #4
0
ファイル: job_head.py プロジェクト: yncxcw/ray
    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())