From 899120dd73724793c787db3227ecb1ba42c00381 Mon Sep 17 00:00:00 2001
From: Anders Svensson
Date: Wed, 27 Feb 2013 10:30:54 +0100
Subject: Add transport_opt() watchdog_config
To make the number of watchdogs sent before the transitions REOPEN ->
OKAY and OKAY -> SUSPECT configurable. Using anything other then the
default config is non-standard and should only be used for test.
---
lib/diameter/doc/src/diameter.xml | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
(limited to 'lib/diameter/doc')
diff --git a/lib/diameter/doc/src/diameter.xml b/lib/diameter/doc/src/diameter.xml
index 379e9f0738..75e95a9a3d 100644
--- a/lib/diameter/doc/src/diameter.xml
+++ b/lib/diameter/doc/src/diameter.xml
@@ -1125,6 +1125,30 @@ modules in order until one establishes a connection within the
corresponding timeout (see below) or all fail.
+
+{watchdog_config, [{okay|suspect, non_neg_integer()}]}
+-
+
+Specifies configuration that alters the behaviour of the watchdog
+state machine.
+On key okay, the non-negative number of answered DWR
+messages required before transitioning from REOPEN to OKAY.
+On key suspect, the positive number of unanswered DWR messages
+before transitioning from OKAY to SUSPECT, or 0 to never make this
+transition.
+
+
+Defaults to [{okay, 3}, {suspect, 1}].
+Not specifying a key is equivalent to specifying
+the default value for that key.
+
+
+The default value is as required by RFC 3539: changing it results
+in non-standard behaviour that should only be used to simulate
+misbehaving nodes during test.
+
+
+
{watchdog_timer, TwInit}
-
--
cgit v1.2.3