We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 002849c commit 7a2b216Copy full SHA for 7a2b216
system/cgroup_setter/config/cgroup.yaml
@@ -2,3 +2,4 @@ base_path: "/sys/fs/cgroup"
2
settings:
3
- directory: "autoware/system_monitor"
4
search_word:
5
+ - "__node:=system_monitor_container"
system/cgroup_setter/src/cgroup_setter.cpp
@@ -84,7 +84,7 @@ void CgroupSetter::checkCgroup(diagnostic_updater::DiagnosticStatusWrapper & sta
84
}
85
86
if (allOK) {
87
- if (timer_->is_active()) timer->cancel();
+ timer_->cancel();
88
stat.summary(diagnostic_msgs::msg::DiagnosticStatus::OK, "All processes are added to cgroup.");
89
} else {
90
stat.summary(diagnostic_msgs::msg::DiagnosticStatus::WARN, "Some processes are not added to cgroup.");
0 commit comments