summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ClusterSettings.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2009-04-29 20:29:53 +0000
committerAlan Conway <aconway@apache.org>2009-04-29 20:29:53 +0000
commitbf70c3a435b5198e48cd83f692796bd47e253df1 (patch)
tree1f67175547e8f847220f9f01ca9993e0b45ff592 /cpp/src/qpid/cluster/ClusterSettings.h
parent0ea393c49936c4647547199859961c4203a25cb3 (diff)
downloadqpid-python-bf70c3a435b5198e48cd83f692796bd47e253df1.tar.gz
Improved & simplified cluster output algorithm.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@769914 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterSettings.h')
-rw-r--r--cpp/src/qpid/cluster/ClusterSettings.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/ClusterSettings.h b/cpp/src/qpid/cluster/ClusterSettings.h
index 88e8829dfe..6b4a0b531c 100644
--- a/cpp/src/qpid/cluster/ClusterSettings.h
+++ b/cpp/src/qpid/cluster/ClusterSettings.h
@@ -32,10 +32,10 @@ struct ClusterSettings {
std::string name;
std::string url;
bool quorum;
- size_t readMax, writeEstimate;
+ size_t readMax, writeEstimate, writeMin;
std::string username, password, mechanism;
- ClusterSettings() : quorum(false), readMax(10), writeEstimate(64) {}
+ ClusterSettings() : quorum(false), readMax(10), writeEstimate(1), writeMin(1) {}
Url getUrl(uint16_t port) const {
if (url.empty()) return Url::getIpAddressesUrl(port);