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 | 6d2b17f95a259dde5fb3c75350cd1cfcdf7ad67b (patch) | |
| tree | a1401b3af2a08829f74036b454ad558c797b80c1 /cpp/src/qpid/cluster/ClusterPlugin.cpp | |
| parent | 4ee24df9f37980b0a9ad596d05874d601276871c (diff) | |
| download | qpid-python-6d2b17f95a259dde5fb3c75350cd1cfcdf7ad67b.tar.gz | |
Default --cluster-read-max to 0.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@727442 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterPlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/cluster/ClusterPlugin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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.") ; } }; |
