From 075885d1e2c88712d5a7c1f6eaded4b8f56230da Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 25 Mar 2010 13:21:30 +0000 Subject: More generous overrun threshold for cluster timer to avoid excessive warnings. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@927383 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/ClusterTimer.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster') diff --git a/cpp/src/qpid/cluster/ClusterTimer.cpp b/cpp/src/qpid/cluster/ClusterTimer.cpp index 612758152f..4068a4783c 100644 --- a/cpp/src/qpid/cluster/ClusterTimer.cpp +++ b/cpp/src/qpid/cluster/ClusterTimer.cpp @@ -34,7 +34,11 @@ using sys::Timer; using sys::TimerTask; -ClusterTimer::ClusterTimer(Cluster& c) : cluster(c) {} +ClusterTimer::ClusterTimer(Cluster& c) : cluster(c) { + // Allow more generous overrun threshold with cluster as we + // have to do a CPG round trip before executing the task. + overran = 10*sys::TIME_MSEC; +} ClusterTimer::~ClusterTimer() {} -- cgit v1.2.1