You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by pm...@apache.org on 2014/10/13 16:00:57 UTC
svn commit: r1631396 - /qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
Author: pmoravec
Date: Mon Oct 13 14:00:56 2014
New Revision: 1631396
URL: http://svn.apache.org/r1631396
Log:
QPID-6148: purging TTL expired messages via purge task should not increase acquires counters
Modified:
qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp?rev=1631396&r1=1631395&r2=1631396&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Queue.cpp Mon Oct 13 14:00:56 2014
@@ -646,10 +646,8 @@ void Queue::purgeExpired(sys::Duration l
// Report the count of discarded-by-ttl messages
//
if (mgmtObject && count) {
- mgmtObject->inc_acquires(count);
mgmtObject->inc_discardsTtl(count);
if (brokerMgmtObject) {
- brokerMgmtObject->inc_acquires(count);
brokerMgmtObject->inc_discardsTtl(count);
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org