mirror of https://github.com/Icinga/icinga2.git
Merge pull request #9020 from Icinga/feature/icingaeb-schema-version
Icinga DB: publish Redis schema version via XADD icinga:schema
This commit is contained in:
commit
f5f8ccb1f4
|
@ -126,6 +126,9 @@ void IcingaDB::ConfigStaticInitialize()
|
||||||
|
|
||||||
void IcingaDB::UpdateAllConfigObjects()
|
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";
|
Log(LogInformation, "IcingaDB") << "Starting initial config/status dump";
|
||||||
double startTime = Utility::GetTime();
|
double startTime = Utility::GetTime();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue