mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 12:36:50 +08:00
committed by
Robert Nishihara
parent
28496c8b50
commit
0421cba4e8
@@ -112,7 +112,7 @@ class Monitor(object):
|
||||
for j in range(message.BatchLength()):
|
||||
heartbeat_message = message.Batch(j)
|
||||
|
||||
num_resources = heartbeat_message.ResourcesAvailableLabelLength()
|
||||
num_resources = heartbeat_message.ResourcesTotalLabelLength()
|
||||
static_resources = {}
|
||||
dynamic_resources = {}
|
||||
for i in range(num_resources):
|
||||
|
||||
Reference in New Issue
Block a user