mirror of
https://github.com/clearml/clearml-agent
synced 2025-06-26 18:16:15 +00:00
Change daemon --stop without any specific flag to terminate the agents by worker id lexicographic order
This commit is contained in:
@@ -65,6 +65,7 @@ def terminate_process(pid, timeout=10.):
|
||||
except Exception:
|
||||
return True
|
||||
|
||||
|
||||
def kill_all_child_processes(pid=None):
|
||||
# get current process if pid not provided
|
||||
include_parent = True
|
||||
|
||||
Reference in New Issue
Block a user