summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/QueueFlowLimit.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-12-19 21:22:50 +0000
committerAlan Conway <aconway@apache.org>2012-12-19 21:22:50 +0000
commit029bce5f1e09182bed06d5ce61cc17c1eea5bcc0 (patch)
tree3890cc4bb71f2dd1cc6cf84a0f62fc056181de3c /cpp/src/qpid/broker/QueueFlowLimit.cpp
parent3b0bed3ac80c3ce05a42f662965ecf13559360ac (diff)
downloadqpid-python-029bce5f1e09182bed06d5ce61cc17c1eea5bcc0.tar.gz
QPID-4514: Remove obsolete cluster code: Broker, Connection, Link.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1424125 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/QueueFlowLimit.cpp')
-rw-r--r--cpp/src/qpid/broker/QueueFlowLimit.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/cpp/src/qpid/broker/QueueFlowLimit.cpp b/cpp/src/qpid/broker/QueueFlowLimit.cpp
index 944cc7e838..b887364d51 100644
--- a/cpp/src/qpid/broker/QueueFlowLimit.cpp
+++ b/cpp/src/qpid/broker/QueueFlowLimit.cpp
@@ -129,11 +129,6 @@ void QueueFlowLimit::enqueued(const Message& msg)
}
if (flowStopped || !index.empty()) {
- // ignore flow control if we are populating the queue due to cluster replication:
- if (broker && broker->isClusterUpdatee()) {
- QPID_LOG(trace, "Queue \"" << queueName << "\": ignoring flow control for msg pos=" << msg.getSequence());
- return;
- }
QPID_LOG(trace, "Queue \"" << queueName << "\": setting flow control for msg pos=" << msg.getSequence());
msg.getPersistentContext()->getIngressCompletion().startCompleter(); // don't complete until flow resumes
bool unique;