From ca36e0de3ca2f53d308980d9df13465e34327ffd Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Mon, 13 Oct 2014 14:00:56 +0000 Subject: QPID-6148: purging TTL expired messages via purge task should not increase acquires counters git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1631396 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/broker/Queue.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'qpid/cpp/src') diff --git a/qpid/cpp/src/qpid/broker/Queue.cpp b/qpid/cpp/src/qpid/broker/Queue.cpp index 8a20bcc69b..e12d689ba4 100644 --- a/qpid/cpp/src/qpid/broker/Queue.cpp +++ b/qpid/cpp/src/qpid/broker/Queue.cpp @@ -646,10 +646,8 @@ void Queue::purgeExpired(sys::Duration lapse) { // 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); } } -- cgit v1.2.1