From 6d2b17f95a259dde5fb3c75350cd1cfcdf7ad67b Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Wed, 17 Dec 2008 17:09:37 +0000 Subject: Default --cluster-read-max to 0. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727442 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/ClusterPlugin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/cluster/ClusterPlugin.cpp') diff --git a/cpp/src/qpid/cluster/ClusterPlugin.cpp b/cpp/src/qpid/cluster/ClusterPlugin.cpp index 5e6a5049a5..320d0bc778 100644 --- a/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/cpp/src/qpid/cluster/ClusterPlugin.cpp @@ -44,7 +44,7 @@ struct ClusterValues { size_t readMax; // FIXME aconway 2008-12-09: revisit default. - ClusterValues() : quorum(false), readMax(4) {} + ClusterValues() : quorum(false), readMax(0) {} Url getUrl(uint16_t port) const { if (url.empty()) return Url::getIpAddressesUrl(port); @@ -68,7 +68,7 @@ struct ClusterOptions : public Options { #if HAVE_LIBCMAN ("cluster-cman", optValue(values.quorum), "Integrate with Cluster Manager (CMAN) cluster.") #endif - ("cluster-read-max", optValue(values.readMax,"N"), "Max un-delivered reads per client connection, 0 means unlimited.") + ("cluster-read-max", optValue(values.readMax,"N"), "Throttle read rate from client connections.") ; } }; -- cgit v1.2.1