From 0a52f498ae4e8fa3ec896acdb6ee6a2dbd34ecd7 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/sys/Timer.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cpp/src/qpid/sys/Timer.h') diff --git a/cpp/src/qpid/sys/Timer.h b/cpp/src/qpid/sys/Timer.h index 4a579fe032..1e0599e347 100644 --- a/cpp/src/qpid/sys/Timer.h +++ b/cpp/src/qpid/sys/Timer.h @@ -92,6 +92,10 @@ class Timer : private Runnable { protected: QPID_COMMON_EXTERN virtual void fire(boost::intrusive_ptr task); QPID_COMMON_EXTERN virtual void drop(boost::intrusive_ptr task); + // Allow derived classes to change the late/overran thresholds. + Duration late; + Duration overran; + Duration lateCancel; }; -- cgit v1.2.1