You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by kg...@apache.org on 2011/08/10 16:16:17 UTC
svn commit: r1156195 -
/qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp
Author: kgiusti
Date: Wed Aug 10 14:16:16 2011
New Revision: 1156195
URL: http://svn.apache.org/viewvc?rev=1156195&view=rev
Log:
QPID-3346: merge fix for QPID-3410 from trunk
Modified:
qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp
Modified: qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp
URL: http://svn.apache.org/viewvc/qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp?rev=1156195&r1=1156194&r2=1156195&view=diff
==============================================================================
--- qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp (original)
+++ qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp Wed Aug 10 14:16:16 2011
@@ -173,7 +173,7 @@ std::auto_ptr<Messages> Fairshare::creat
{
using boost::assign::list_of;
std::auto_ptr<Messages> result;
- size_t levels = getSetting(settings, list_of<std::string>("qpid.priorities")("x-qpid-priorities"), 1, 100);
+ size_t levels = getSetting(settings, list_of<std::string>("qpid.priorities")("x-qpid-priorities"), 0, 100);
if (levels) {
std::auto_ptr<Fairshare> fairshare =
getFairshare(settings, levels, list_of<std::string>("qpid.fairshare")("x-qpid-fairshare"));
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org