mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
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…
x
Reference in New Issue
Block a user