[icinga-checkins] icinga.org: icinga2/master: EndpointManager: Decrease timer intervals.

git at icinga.org git at icinga.org
Wed Feb 13 12:22:30 CET 2013


Module: icinga2
Branch: master
Commit: a1617e74944b2047d4b0bc31e8ca37226cccc13d
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=a1617e74944b2047d4b0bc31e8ca37226cccc13d

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Feb 13 12:22:18 2013 +0100

EndpointManager: Decrease timer intervals.

---

 lib/remoting/endpointmanager.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/remoting/endpointmanager.cpp b/lib/remoting/endpointmanager.cpp
index 9654ccb..3d122a7 100644
--- a/lib/remoting/endpointmanager.cpp
+++ b/lib/remoting/endpointmanager.cpp
@@ -34,12 +34,12 @@ EndpointManager::EndpointManager(void)
 
 	m_SubscriptionTimer = boost::make_shared<Timer>();
 	m_SubscriptionTimer->OnTimerExpired.connect(boost::bind(&EndpointManager::SubscriptionTimerHandler, this));
-	m_SubscriptionTimer->SetInterval(10);
+	m_SubscriptionTimer->SetInterval(5);
 	m_SubscriptionTimer->Start();
 
 	m_ReconnectTimer = boost::make_shared<Timer>();
 	m_ReconnectTimer->OnTimerExpired.connect(boost::bind(&EndpointManager::ReconnectTimerHandler, this));
-	m_ReconnectTimer->SetInterval(10);
+	m_ReconnectTimer->SetInterval(5);
 	m_ReconnectTimer->Start();
 }
 





More information about the icinga-checkins mailing list