mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 23:08:32 +08:00
GCS Server add SIGTERM signal handler (#8795)
This commit is contained in:
@@ -910,6 +910,12 @@ class Node:
|
||||
check_alive=check_alive,
|
||||
allow_graceful=allow_graceful)
|
||||
|
||||
if ray_constants.PROCESS_TYPE_GCS_SERVER in self.all_processes:
|
||||
self._kill_process_type(
|
||||
ray_constants.PROCESS_TYPE_GCS_SERVER,
|
||||
check_alive=check_alive,
|
||||
allow_graceful=allow_graceful)
|
||||
|
||||
# We call "list" to copy the keys because we are modifying the
|
||||
# dictionary while iterating over it.
|
||||
for process_type in list(self.all_processes.keys()):
|
||||
|
||||
Reference in New Issue
Block a user