mirror of https://github.com/Icinga/icinga2.git
Force compat module to write status.dat/objects.cache right after program start.
This commit is contained in:
parent
777f39c1ef
commit
0032e32026
|
@ -46,6 +46,7 @@ void CompatComponent::Start(void)
|
|||
m_StatusTimer->SetInterval(15);
|
||||
m_StatusTimer->OnTimerExpired.connect(boost::bind(&CompatComponent::StatusTimerHandler, this));
|
||||
m_StatusTimer->Start();
|
||||
m_StatusTimer->Reschedule(0);
|
||||
|
||||
CIB::RequireInformation(CIB_Configuration);
|
||||
CIB::RequireInformation(CIB_ProgramStatus);
|
||||
|
|
Loading…
Reference in New Issue