]> granicus.if.org Git - icinga2/commitdiff
Decrease timeout for the result timer.
authorGunnar Beutner <gunnar@beutner.name>
Sun, 17 Jun 2012 21:10:03 +0000 (23:10 +0200)
committerGunnar Beutner <gunnar@beutner.name>
Sun, 17 Jun 2012 21:10:03 +0000 (23:10 +0200)
components/checker/checkercomponent.cpp

index ce36421dae6374f33e4f16e32aed443b19693844..cbd09176c6bfb1d01ab85bbb333efdb25009d4a6 100644 (file)
@@ -46,7 +46,7 @@ void CheckerComponent::Start(void)
        CheckTask::RegisterType("nagios", NagiosCheckTask::CreateTask);
 
        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->Start();
 }