Currently the default negotiatetimeout is 0. Which in some cases means the
prevailing operating system default (~1 week for TCP?) and in some case an
infinite timeout. It seems to me that in most cases this default is not
useful for healthchecking. 30s may not be ideal, but it does seem closer to
the realms of usefulness.
Signed-off-by: Simon Horman <[EMAIL PROTECTED]>
Index: heartbeat/ldirectord/ldirectord.in
===================================================================
--- heartbeat.orig/ldirectord/ldirectord.in 2007-07-04 14:49:40.000000000
+0900
+++ heartbeat/ldirectord/ldirectord.in 2007-07-04 14:51:14.000000000 +0900
@@ -135,7 +135,7 @@ also a global value that may be override
If both negotiatetimeout and connecttimeout are unset, the default is used.
-Default: defined by the operating system
+Default: 30 seconds
B<checkinterval = >I<n>
@@ -592,7 +592,7 @@ if (! defined $LDIRECTORD) {
}
$LDIRLOG = "/var/log/ldirectord.log";
$NEGOTIATETIMEOUT = -1;
-$DEFAULT_NEGOTIATETIMEOUT = 0;
+$DEFAULT_NEGOTIATETIMEOUT = 30;
$RUNPID = "/var/run/ldirectord";
$SUPERVISED = "no";
$QUIESCENT = "yes";
--
--
Horms
H: http://www.vergenet.net/~horms/
W: http://www.valinux.co.jp/en/
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/