summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorJustin Ross <jross@apache.org>2012-09-06 17:39:41 +0000
committerJustin Ross <jross@apache.org>2012-09-06 17:39:41 +0000
commit219fae30ac66789c1d3960858c0c709f4a167f21 (patch)
treeb7deb1271cc6a274ee769a46919cf6f53a9a7fc8 /cpp/src
parent77f0cc2dca6fdedd3527b5feda05ee1cc1437c5b (diff)
downloadqpid-python-219fae30ac66789c1d3960858c0c709f4a167f21.tar.gz
QPID-2518: Increase default negotiation timeout to 10 seconds
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1381690 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/Broker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp
index 03ad88a4a8..c67d06f50c 100644
--- a/cpp/src/qpid/broker/Broker.cpp
+++ b/cpp/src/qpid/broker/Broker.cpp
@@ -130,7 +130,7 @@ Broker::Options::Options(const std::string& name) :
timestampRcvMsgs(false), // set the 0.10 timestamp delivery property
linkMaintenanceInterval(2),
linkHeartbeatInterval(120),
- maxNegotiateTime(2000) // 2s
+ maxNegotiateTime(10000) // 10s
{
int c = sys::SystemInfo::concurrency();
workerThreads=c+1;
@@ -171,7 +171,7 @@ Broker::Options::Options(const std::string& name) :
("enable-timestamp", optValue(timestampRcvMsgs, "yes|no"), "Add current time to each received message.")
("link-maintenace-interval", optValue(linkMaintenanceInterval, "SECONDS"))
("link-heartbeat-interval", optValue(linkHeartbeatInterval, "SECONDS"))
- ("max-negotiate-time", optValue(maxNegotiateTime, "MilliSeconds"), "Maximum time a connection can take to send the initial protocol negotiation")
+ ("max-negotiate-time", optValue(maxNegotiateTime, "MILLISECONDS"), "Maximum time a connection can take to send the initial protocol negotiation")
("federation-tag", optValue(fedTag, "NAME"), "Override the federation tag")
;
}