summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-07-14 14:49:33 +0000
committerAlan Conway <aconway@apache.org>2009-07-14 14:49:33 +0000
commit141f7814e093845265b24c47509fb0a9047c1881 (patch)
tree7f4fda51f6bf4eec62f332d4c44bf353c08913a5 /cpp/src/qpid/cluster/Cluster.cpp
parent8978cf64e20e9cc89aa973ea7cce2ed3c85ec568 (diff)
downloadqpid-python-141f7814e093845265b24c47509fb0a9047c1881.tar.gz
Minor cluster optimizations.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@793917 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index fc8faf08ec..3d46797679 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -414,7 +414,7 @@ LATENCY_TRACK(sys::LatencyTracker<const AMQBody*> doOutputTracker("DoOutput");)
deliverEventQueue.start();
}
// Process each frame through the error checker.
- if (settings.checkErrors) {
+ if (settings.checkErrors && error.isUnresolved()) {
error.delivered(e);
while (error.canProcess()) // There is a frame ready to process.
processFrame(error.getNext(), l);