From 9c00a0a3ecc8139c567b74738f7cfd4cd2ec6bc5 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 30 Mar 2010 20:57:22 +0000 Subject: 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 --- cpp/src/qpid/cluster/PollableQueue.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cpp/src/qpid/cluster/PollableQueue.h') diff --git a/cpp/src/qpid/cluster/PollableQueue.h b/cpp/src/qpid/cluster/PollableQueue.h index 59d0bcd36a..10e2ed6ac3 100644 --- a/cpp/src/qpid/cluster/PollableQueue.h +++ b/cpp/src/qpid/cluster/PollableQueue.h @@ -74,10 +74,7 @@ template class PollableQueue : public sys::PollableQueue { else sys::PollableQueue::push(t); } - void start() { - bypass = false; - sys::PollableQueue::start(); - } + void bypassOff() { bypass = false; } private: Callback callback; -- cgit v1.2.1