mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
Fix ray.available_resources bug (#8537)
This commit is contained in:
parent
38399c9885
commit
e958d261b6
1 changed files with 1 additions and 1 deletions
|
@ -796,7 +796,7 @@ class GlobalState:
|
|||
client_ids = self._live_client_ids()
|
||||
|
||||
# Remove disconnected clients
|
||||
for client_id in available_resources_by_id.keys():
|
||||
for client_id in list(available_resources_by_id.keys()):
|
||||
if client_id not in client_ids:
|
||||
del available_resources_by_id[client_id]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue