summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Cluster.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-01-28 20:48:23 +0000
committerAlan Conway <aconway@apache.org>2009-01-28 20:48:23 +0000
commitbea927aff631a66be6c8b509ceb22f676dcc2900 (patch)
treeea4e3f4bd4c0ff646a79278b179eaaafb69ef55e /cpp/src/qpid/cluster/Cluster.cpp
parent56037de983e759c984836f52f4762420ae438748 (diff)
downloadqpid-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/Cluster.cpp')
-rw-r--r--cpp/src/qpid/cluster/Cluster.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/Cluster.cpp b/cpp/src/qpid/cluster/Cluster.cpp
index 2939b0c203..d970523534 100644
--- a/cpp/src/qpid/cluster/Cluster.cpp
+++ b/cpp/src/qpid/cluster/Cluster.cpp
@@ -86,7 +86,7 @@ struct ClusterDispatcher : public framing::AMQP_AllOperations::ClusterHandler {
bool invoke(AMQBody& body) { return framing::invoke(*this, body).wasHandled(); }
};
-Cluster::Cluster(const std::string& name_, const Url& url_, broker::Broker& b, bool quorum_, size_t readMax_, size_t writeEstimate_, size_t mcastMax) :
+Cluster::Cluster(const std::string& name_, const Url& url_, broker::Broker& b, bool quorum_, size_t readMax_, size_t writeEstimate_) :
broker(b),
mgmtObject(0),
poller(b.getPoller()),
@@ -96,7 +96,7 @@ Cluster::Cluster(const std::string& name_, const Url& url_, broker::Broker& b, b
myId(cpg.self()),
readMax(readMax_),
writeEstimate(writeEstimate_),
- mcast(cpg, mcastMax, poller, boost::bind(&Cluster::leave, this)),
+ mcast(cpg, poller, boost::bind(&Cluster::leave, this)),
dispatcher(cpg, poller, boost::bind(&Cluster::leave, this)),
deliverEventQueue(ClusterQueueHandler<Event>(this, boost::bind(&Cluster::deliveredEvent, this, _1), "event queue"), poller),
deliverFrameQueue(ClusterQueueHandler<EventFrame>(this, boost::bind(&Cluster::deliveredFrame, this, _1), "frame queue"), poller),