qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kgiu...@apache.org
Subject svn commit: r1156195 - /qpid/branches/qpid-3346/qpid/cpp/src/qpid/broker/Fairshare.cpp
Date Wed, 10 Aug 2011 14:16:17 GMT
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


Mime
View raw message