diff options
| author | Alan Conway <aconway@apache.org> | 2009-01-28 20:48:23 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2009-01-28 20:48:23 +0000 |
| commit | bea927aff631a66be6c8b509ceb22f676dcc2900 (patch) | |
| tree | ea4e3f4bd4c0ff646a79278b179eaaafb69ef55e /cpp/src/qpid/cluster/ClusterPlugin.cpp | |
| parent | 56037de983e759c984836f52f4762420ae438748 (diff) | |
| download | qpid-python-bea927aff631a66be6c8b509ceb22f676dcc2900.tar.gz | |
Remove defunct --cluster-mcast-max optionn.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@738618 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterPlugin.cpp')
| -rw-r--r-- | cpp/src/qpid/cluster/ClusterPlugin.cpp | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/cpp/src/qpid/cluster/ClusterPlugin.cpp b/cpp/src/qpid/cluster/ClusterPlugin.cpp index 6cc4024b1c..f523317f68 100644 --- a/cpp/src/qpid/cluster/ClusterPlugin.cpp +++ b/cpp/src/qpid/cluster/ClusterPlugin.cpp @@ -52,9 +52,9 @@ struct ClusterValues { string name; string url; bool quorum; - size_t readMax, writeEstimate, mcastMax; + size_t readMax, writeEstimate; - ClusterValues() : quorum(false), readMax(10), writeEstimate(64), mcastMax(0) {} + ClusterValues() : quorum(false), readMax(10), writeEstimate(64) {} Url getUrl(uint16_t port) const { if (url.empty()) return Url::getIpAddressesUrl(port); @@ -79,11 +79,9 @@ struct ClusterOptions : public Options { ("cluster-cman", optValue(values.quorum), "Integrate with Cluster Manager (CMAN) cluster.") #endif ("cluster-read-max", optValue(values.readMax,"N"), - "Experimental: Max unreplicated reads per connetion connection. 0=no limit.") - ("cluster-mcast-max", optValue(values.mcastMax,"N"), - "Experimental: Max outstanding multicasts per broker. 0=no limit.") + "Experimental: Limit per-client-connection queue of read buffers. 0=no limit.") ("cluster-write-estimate", optValue(values.writeEstimate, "Kb"), - "Experimental: initial estimate for connection writes rate per multicast cycle"); + "Experimental: initial estimate for connection write rate per multicast cycle"); } }; @@ -147,7 +145,7 @@ struct ClusterPlugin : public Plugin { values.getUrl(broker->getPort(Broker::TCP_TRANSPORT)), *broker, values.quorum, - values.readMax, values.writeEstimate*1024, values.mcastMax + values.readMax, values.writeEstimate*1024 ); broker->setConnectionFactory( boost::shared_ptr<sys::ConnectionCodec::Factory>( |
