Author: aconway
Date: Thu Oct 11 19:35:41 2012
New Revision: 1397253

URL: http://svn.apache.org/viewvc?rev=1397253&view=rev
Log:
NO-JIRA: Fix spelling if --link-maintenace-interval option and add descriptive 
text.

Also added description for --link-heartbeat-interval

Modified:
    qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp
    qpid/trunk/qpid/cpp/src/tests/ha_test.py

Modified: qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp?rev=1397253&r1=1397252&r2=1397253&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/broker/Broker.cpp Thu Oct 11 19:35:41 2012
@@ -169,8 +169,10 @@ Broker::Options::Options(const std::stri
         ("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")
         ;

Modified: qpid/trunk/qpid/cpp/src/tests/ha_test.py
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/tests/ha_test.py?rev=1397253&r1=1397252&r2=1397253&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/tests/ha_test.py (original)
+++ qpid/trunk/qpid/cpp/src/tests/ha_test.py Thu Oct 11 19:35:41 2012
@@ -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 ]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to