From 0c30ca90a6820dd152677c3c0966a6a20fd377bb Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 26 May 2009 21:41:52 +0000 Subject: Improved doOutput algorithm. Simpler & more robust algorithm based on message count rather than byte size. Self-tuning, removes 2 hard-to-explain cluster options. Similar or marginally better performance. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@778896 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/PollableQueue.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (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 db98faa9da..65f615d8b6 100644 --- a/cpp/src/qpid/cluster/PollableQueue.h +++ b/cpp/src/qpid/cluster/PollableQueue.h @@ -41,7 +41,8 @@ template class PollableQueue : public sys::PollableQueue { const boost::shared_ptr& poller) : sys::PollableQueue(boost::bind(&PollableQueue::handleBatch, this, _1), poller), - callback(f), error(err), message(msg) {} + callback(f), error(err), message(msg) + {} typename sys::PollableQueue::Batch::const_iterator handleBatch(const typename sys::PollableQueue::Batch& values) { -- cgit v1.2.1