diff options
author | Alan Conway <aconway@apache.org> | 2010-03-25 13:21:30 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-03-25 13:21:30 +0000 |
commit | 075885d1e2c88712d5a7c1f6eaded4b8f56230da (patch) | |
tree | 46424993974642b5cdcebf921af930de42773fa8 /cpp/src/qpid/cluster/ClusterTimer.cpp | |
parent | cf1e629ac945af61a41110dd809d7c56c02ae94f (diff) | |
download | qpid-python-075885d1e2c88712d5a7c1f6eaded4b8f56230da.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterTimer.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/ClusterTimer.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
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() {} |