Icinga DB: DEL icinga:nextupdate:* along with the other keys to delete

... not on config dump finish.
This commit is contained in:
Alexander A. Klimov 2021-07-26 11:44:21 +02:00
parent 2b04e0a754
commit 497a8dd993
1 changed files with 1 additions and 1 deletions

View File

@ -153,7 +153,7 @@ void IcingaDB::UpdateAllConfigObjects()
m_PrefixConfigObject + "icon:image",
};
DeleteKeys(m_Rcon, globalKeys, Prio::Config);
DeleteKeys(m_Rcon, {"icinga:nextupdate:host", "icinga:nextupdate:service"}, Prio::CheckResult);
DeleteKeys(m_Rcon, {"icinga:nextupdate:host", "icinga:nextupdate:service"}, Prio::Config);
m_Rcon->Sync();
Defer resetDumpedGlobals ([this]() {