From b0cded4af89897656d9eb9d050842cfde0d52ebe Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 2 Jun 2010 10:39:10 +0000 Subject: 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 --- cpp/src/qpid/client/amqp0_10/ConnectionImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src') 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) { -- cgit v1.2.1