Don't reboot node simply for a StatusMessage config update

This commit is contained in:
Jonathan Bennett
2026-01-20 18:10:40 -06:00
parent 84cd870323
commit 1f0ef2498a
2 changed files with 7 additions and 3 deletions

View File

@@ -15,6 +15,8 @@ class StatusMessageModule : public SinglePortModule, private concurrency::OSThre
{
if (moduleConfig.has_statusmessage && moduleConfig.statusmessage.node_status[0] != '\0') {
this->setInterval(2 * 60 * 1000);
} else {
this->setInterval(1000 * 12 * 60 * 60);
}
// TODO: If we have a string, set the initial delay (15 minutes maybe)
}