diff options
| author | Alan Conway <aconway@apache.org> | 2008-12-17 17:09:37 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-12-17 17:09:37 +0000 |
| commit | 11be2edc9ffbb0c1b7c69ab8c570eb62667020b1 (patch) | |
| tree | 97db942d1cc7aa8140172ea8f1bd37db6d2bfe6d /qpid/cpp/src | |
| parent | 0a873b00d7c7494d38c449ad4106abd8f5d38348 (diff) | |
| download | qpid-python-11be2edc9ffbb0c1b7c69ab8c570eb62667020b1.tar.gz | |
Default --cluster-read-max to 0.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@727442 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
| -rw-r--r-- | qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp b/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp index 5e6a5049a5..320d0bc778 100644 --- a/qpid/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/qpid/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.") ; } }; |
