diff options
author | Alan Conway <aconway@apache.org> | 2010-03-30 20:57:22 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-03-30 20:57:22 +0000 |
commit | 9c00a0a3ecc8139c567b74738f7cfd4cd2ec6bc5 (patch) | |
tree | 4d574172fd2b6fc0adccac03eb32cbcb489c1bfa /cpp/src/qpid/cluster/Cluster.cpp | |
parent | d13a8d895087b0a8e5a3535466bd8a5d065ae6be (diff) | |
download | qpid-python-9c00a0a3ecc8139c567b74738f7cfd4cd2ec6bc5.tar.gz |
Fix hanging failover_soak test.
Explictly turn off PollableQueue bypass mode during initialize.
Implicitly turning it off in PollableQueue::start() led to incorrectly
turning off bypass in a PRE_INIT client when an offer was processed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929276 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Cluster.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/Cluster.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp index 83ebbcc2e6..258460fe8f 100644 --- a/cpp/src/qpid/cluster/Cluster.cpp +++ b/cpp/src/qpid/cluster/Cluster.cpp @@ -319,7 +319,9 @@ void Cluster::initialize() { broker.getKnownBrokers = boost::bind(&Cluster::getUrls, this); broker.setExpiryPolicy(expiryPolicy); dispatcher.start(); + deliverEventQueue.bypassOff(); deliverEventQueue.start(); + deliverFrameQueue.bypassOff(); deliverFrameQueue.start(); mcast.start(); |