mirror of https://github.com/Icinga/icinga2.git
Icinga DB: publish Redis schema version via XADD icinga:schema
... to be able both to subscribe for its change and to just fetch it.
This commit is contained in:
parent
a018151eaf
commit
0182d793ac
|
@ -126,6 +126,9 @@ void IcingaDB::ConfigStaticInitialize()
|
|||
|
||||
void IcingaDB::UpdateAllConfigObjects()
|
||||
{
|
||||
m_Rcon->Sync();
|
||||
m_Rcon->FireAndForgetQuery({"XADD", "icinga:schema", "MAXLEN", "1", "*", "version", "1"}, Prio::Heartbeat);
|
||||
|
||||
Log(LogInformation, "IcingaDB") << "Starting initial config/status dump";
|
||||
double startTime = Utility::GetTime();
|
||||
|
||||
|
|
Loading…
Reference in New Issue