diff options
author | Alan Conway <aconway@apache.org> | 2009-04-29 20:29:53 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-04-29 20:29:53 +0000 |
commit | bf70c3a435b5198e48cd83f692796bd47e253df1 (patch) | |
tree | 1f67175547e8f847220f9f01ca9993e0b45ff592 /cpp/src/qpid/cluster/ClusterSettings.h | |
parent | 0ea393c49936c4647547199859961c4203a25cb3 (diff) | |
download | qpid-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.h | 4 |
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); |