[rpc] refactor GRPC client (#6637)

* refactor RPC client

* remove unused code

* format

* fix

* resolve comments

* format

* update

* fix

* fix python pb build failure

* lint
This commit is contained in:
Zhijun Fu
2019-12-31 22:28:25 -08:00
committed by Eric Liang
parent f4b29dae9c
commit 91a98d2295
16 changed files with 225 additions and 290 deletions
+1 -1
View File
@@ -454,7 +454,7 @@ class RayletStats(threading.Thread):
node_id = node["NodeID"]
stub = self.stubs[node_id]
reply = stub.GetNodeStats(
node_manager_pb2.NodeStatsRequest(), timeout=2)
node_manager_pb2.GetNodeStatsRequest(), timeout=2)
replies[node["NodeManagerAddress"]] = reply
with self._raylet_stats_lock:
for address, reply in replies.items():