summaryrefslogtreecommitdiff
path: root/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
commit5e31ed573f38e9eae604229511544b0e03a8beea (patch)
treeafab39dd3894ac757fcac008a7b98ca024678c5a /cpp
parent0963c9f7a673b480cb26fc91215f48ddc5d7f769 (diff)
downloadqpid-python-5e31ed573f38e9eae604229511544b0e03a8beea.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/qpid@1397253 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/broker/Broker.cpp6
-rwxr-xr-xcpp/src/tests/ha_test.py2
2 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/qpid/broker/Broker.cpp b/cpp/src/qpid/broker/Broker.cpp
index 5b59decd69..32b0fdd46e 100644
--- a/cpp/src/qpid/broker/Broker.cpp
+++ b/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/cpp/src/tests/ha_test.py b/cpp/src/tests/ha_test.py
index 5cf28f6ef9..9eebfa952f 100755
--- a/cpp/src/tests/ha_test.py
+++ b/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 ]