summaryrefslogtreecommitdiff
path: root/qpid/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2012-10-11 19:35:41 +0000
committerAlan Conway <aconway@apache.org>2012-10-11 19:35:41 +0000
commit80ae79090f8355041f06e222f71ea5a23a202cd2 (patch)
treeecf497efacdd33533bd3a485ece46e3574d12609 /qpid/cpp
parentf75678b1f215af028b25802c46e274e2d10551b5 (diff)
downloadqpid-python-80ae79090f8355041f06e222f71ea5a23a202cd2.tar.gz
NO-JIRA: Fix spelling if --link-maintenace-interval option and add descriptive text.
Also added description for --link-heartbeat-interval git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1397253 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
-rw-r--r--qpid/cpp/src/qpid/broker/Broker.cpp6
-rwxr-xr-xqpid/cpp/src/tests/ha_test.py2
2 files changed, 5 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/broker/Broker.cpp b/qpid/cpp/src/qpid/broker/Broker.cpp
index 5b59decd69..32b0fdd46e 100644
--- a/qpid/cpp/src/qpid/broker/Broker.cpp
+++ b/qpid/cpp/src/qpid/broker/Broker.cpp
@@ -169,8 +169,10 @@ Broker::Options::Options(const std::string& name) :
("default-event-threshold-ratio", optValue(queueThresholdEventRatio, "%age of limit"), "The ratio of any specified queue limit at which an event will be raised")
("default-message-group", optValue(defaultMsgGroup, "GROUP-IDENTIFER"), "Group identifier to assign to messages delivered to a message group queue that do not contain an identifier.")
("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"))
+ ("link-maintenance-interval", optValue(linkMaintenanceInterval, "SECONDS"),
+ "Interval to check link health and re-connect if need be")
+ ("link-heartbeat-interval", optValue(linkHeartbeatInterval, "SECONDS"),
+ "Heartbeat interval for a federation link")
("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")
;
diff --git a/qpid/cpp/src/tests/ha_test.py b/qpid/cpp/src/tests/ha_test.py
index 5cf28f6ef9..9eebfa952f 100755
--- a/qpid/cpp/src/tests/ha_test.py
+++ b/qpid/cpp/src/tests/ha_test.py
@@ -75,7 +75,7 @@ class HaBroker(Broker):
args += ["--load-module", BrokerTest.ha_lib,
"--log-enable=debug+:ha::",
# FIXME aconway 2012-02-13: workaround slow link failover.
- "--link-maintenace-interval=0.1",
+ "--link-maintenance-interval=0.1",
"--ha-cluster=%s"%ha_cluster]
if ha_replicate is not None:
args += [ "--ha-replicate=%s"%ha_replicate ]