Author: aconway
Date: Wed Dec 17 09:09:37 2008
New Revision: 727442
URL: http://svn.apache.org/viewvc?rev=727442&view=rev
Log:
Default --cluster-read-max to 0.
Modified:
qpid/trunk/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp
Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp
URL:
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp?rev=727442&r1=727441&r2=727442&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp Wed Dec 17 09:09:37
2008
@@ -44,7 +44,7 @@
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 @@
#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.")
;
}
};