MCPcopy Index your code
hub / github.com/ModelTC/LightLLM / start_parent_check_thread

Function start_parent_check_thread

lightllm/utils/process_check.py:41–46  ·  view source on GitHub ↗

检测父进程是否健康,如果出现问题,清理退出所有进程

()

Source from the content-addressed store, hash-verified

39
40
41def start_parent_check_thread():
42 """
43 检测父进程是否健康,如果出现问题,清理退出所有进程
44 """
45 thread = threading.Thread(target=check_parent_alive, daemon=True)
46 thread.start()

Callers 5

api_http.pyFile · 0.90
_start_tcp_store_serverFunction · 0.90
start_router_processFunction · 0.90
_init_envFunction · 0.90
start_visual_processFunction · 0.90

Calls 1

startMethod · 0.80

Tested by

no test coverage detected