Decrease timeout for the result timer.

This commit is contained in:
Gunnar Beutner 2012-06-17 23:10:03 +02:00
parent abc8d94e5f
commit 6648af73ae
1 changed files with 1 additions and 1 deletions

View File

@ -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();
} }