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 | 0a52f498ae4e8fa3ec896acdb6ee6a2dbd34ecd7 (patch) | |
| tree | 46424993974642b5cdcebf921af930de42773fa8 /cpp/src/qpid/cluster | |
| parent | 83c4025df24f0e38e5979a81a9cee6e783d6e271 (diff) | |
| download | qpid-python-0a52f498ae4e8fa3ec896acdb6ee6a2dbd34ecd7.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')
| -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() {} |
