mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 05:58:55 +08:00
Improvements to documentation and error messages. (#221)
This commit is contained in:
committed by
Philipp Moritz
parent
b3b294e3ad
commit
9bb8162621
@@ -114,10 +114,7 @@ def cleanup():
|
||||
successfully_shut_down = successfully_shut_down and success
|
||||
# Reset the list of processes of this type.
|
||||
all_processes[process_type] = []
|
||||
if successfully_shut_down:
|
||||
if len(all_processes) > 0:
|
||||
print("Successfully shut down Ray.")
|
||||
else:
|
||||
if not successfully_shut_down:
|
||||
print("Ray did not shut down properly.")
|
||||
|
||||
def all_processes_alive(exclude=[]):
|
||||
|
||||
Reference in New Issue
Block a user