summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-06-02 10:39:10 +0000
committerGordon Sim <gsim@apache.org>2010-06-02 10:39:10 +0000
commitb0cded4af89897656d9eb9d050842cfde0d52ebe (patch)
tree248048231f02a57f722ef7a585feb10068380202 /cpp/src
parentf1ceff4ee8c6b7abf170597f349a6fc64b8c64fe (diff)
downloadqpid-python-b0cded4af89897656d9eb9d050842cfde0d52ebe.tar.gz
QPID-664: Changed default for reconnect to false as that is more intuitive (e.g. when you specify the wrong broker address to start with)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@950480 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
index 58f4f2acfb..f93df90d7e 100644
--- a/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
+++ b/cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp
@@ -111,7 +111,7 @@ void convert(const Variant::Map& from, ConnectionSettings& to)
}
ConnectionImpl::ConnectionImpl(const std::string& url, const Variant::Map& options) :
- reconnect(true), timeout(-1), limit(-1),
+ reconnect(false), timeout(-1), limit(-1),
minReconnectInterval(3), maxReconnectInterval(60),
retries(0), reconnectOnLimitExceeded(true)
{