mirror of
https://github.com/wassname/ray.git
synced 2026-07-26 13:37:24 +08:00
Move global state API out of global_state object. (#4857)
This commit is contained in:
committed by
Philipp Moritz
parent
ea8d7b4dc0
commit
6703519144
@@ -393,7 +393,7 @@ def wait_for_errors(error_check):
|
||||
errors = []
|
||||
time_left = 100
|
||||
while time_left > 0:
|
||||
errors = ray.error_info()
|
||||
errors = ray.errors()
|
||||
if error_check(errors):
|
||||
break
|
||||
time_left -= 1
|
||||
|
||||
Reference in New Issue
Block a user