mirror of https://github.com/Icinga/icinga2.git
parent
5608b3c0d3
commit
5b662b3c76
|
@ -257,7 +257,7 @@ void Service::InvalidateDowntimesCache(void)
|
|||
if (!m_DowntimesCacheTimer) {
|
||||
m_DowntimesCacheTimer = boost::make_shared<Timer>();
|
||||
m_DowntimesCacheTimer->SetInterval(0.5);
|
||||
m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshNotificationsCache));
|
||||
m_DowntimesCacheTimer->OnTimerExpired.connect(boost::bind(&Service::RefreshDowntimesCache));
|
||||
m_DowntimesCacheTimer->Start();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue