提交 3d64a581 编写于 作者: X xionglei6

modify: socket service ondemand adapt L1 & L2

Signed-off-by: Nxionglei6 <xionglei6@huawei.com>
上级 de48170d
......@@ -429,6 +429,7 @@ void ServiceReap(Service *service)
} else if (!(service->attribute & SERVICE_ATTR_NEED_RESTART)) {
if (CalculateCrashTime(service, service->crashTime, service->crashCount) == false) {
INIT_LOGE("Service name=%s, crash %d times, no more start.", service->name, service->crashCount);
return;
}
}
// service no need to restart which socket managed by init until socket message detected
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册