qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shus...@apache.org
Subject svn commit: r826093 - /qpid/trunk/qpid/cpp/src/qpid/sys/Timer.cpp
Date Fri, 16 Oct 2009 21:25:13 GMT
Author: shuston
Date: Fri Oct 16 21:25:13 2009
New Revision: 826093

URL: http://svn.apache.org/viewvc?rev=826093&view=rev
Log:
Change threshold for reporting a timer as late from 10 to 50 msec. Resolves QPID-2150.

Modified:
    qpid/trunk/qpid/cpp/src/qpid/sys/Timer.cpp

Modified: qpid/trunk/qpid/cpp/src/qpid/sys/Timer.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/sys/Timer.cpp?rev=826093&r1=826092&r2=826093&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/sys/Timer.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/sys/Timer.cpp Fri Oct 16 21:25:13 2009
@@ -112,7 +112,7 @@
                 // Warn on callback overrun
                 AbsTime end(AbsTime::now());
                 Duration overrun(tasks.top()->nextFireTime, end);
-                bool late = delay > 10 * TIME_MSEC;
+                bool late = delay > 50 * TIME_MSEC;
                 bool overran = overrun > 2 * TIME_MSEC;
                 if (late)
                 if (overran) {



---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org


Mime
View raw message