mirror of https://github.com/Icinga/icinga2.git
Decrease timeout for the result timer.
This commit is contained in:
parent
abc8d94e5f
commit
6648af73ae
|
@ -46,7 +46,7 @@ void CheckerComponent::Start(void)
|
||||||
CheckTask::RegisterType("nagios", NagiosCheckTask::CreateTask);
|
CheckTask::RegisterType("nagios", NagiosCheckTask::CreateTask);
|
||||||
|
|
||||||
m_ResultTimer = boost::make_shared<Timer>();
|
m_ResultTimer = boost::make_shared<Timer>();
|
||||||
m_ResultTimer->SetInterval(10);
|
m_ResultTimer->SetInterval(5);
|
||||||
m_ResultTimer->OnTimerExpired.connect(boost::bind(&CheckerComponent::ResultTimerHandler, this));
|
m_ResultTimer->OnTimerExpired.connect(boost::bind(&CheckerComponent::ResultTimerHandler, this));
|
||||||
m_ResultTimer->Start();
|
m_ResultTimer->Start();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue