diff options
| author | Pavel Moravec <pmoravec@apache.org> | 2014-10-13 14:00:56 +0000 |
|---|---|---|
| committer | Pavel Moravec <pmoravec@apache.org> | 2014-10-13 14:00:56 +0000 |
| commit | ca36e0de3ca2f53d308980d9df13465e34327ffd (patch) | |
| tree | e3a902ec80d7f514f5480d58fc9dee93eb148c97 /qpid/cpp/src | |
| parent | 02d41b9b8348fd999c76807639b95bcb4d256102 (diff) | |
| download | qpid-python-ca36e0de3ca2f53d308980d9df13465e34327ffd.tar.gz | |
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
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/broker/Queue.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
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); } } |
