aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2013-02-27 10:30:54 +0100
committerAnders Svensson <[email protected]>2013-03-04 01:18:06 +0100
commit899120dd73724793c787db3227ecb1ba42c00381 (patch)
tree7abea4f2d0563658e74bc5f86fe5a403c0ef5965 /lib/diameter/src/base/diameter.erl
parent05f11890bdfec4bfc3a78e191a87e70a937ffc54 (diff)
downloadotp-899120dd73724793c787db3227ecb1ba42c00381.tar.gz
otp-899120dd73724793c787db3227ecb1ba42c00381.tar.bz2
otp-899120dd73724793c787db3227ecb1ba42c00381.zip
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.
Diffstat (limited to 'lib/diameter/src/base/diameter.erl')
-rw-r--r--lib/diameter/src/base/diameter.erl1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/diameter/src/base/diameter.erl b/lib/diameter/src/base/diameter.erl
index c67fba5f89..5f06cef020 100644
--- a/lib/diameter/src/base/diameter.erl
+++ b/lib/diameter/src/base/diameter.erl
@@ -336,6 +336,7 @@ call(SvcName, App, Message) ->
| {length_errors, exit | handle | discard}
| {reconnect_timer, 'Unsigned32'()}
| {watchdog_timer, 'Unsigned32'() | {module(), atom(), list()}}
+ | {watchdog_config, [{okay|suspect, non_neg_integer()}]}
| {private, any()}.
%% Predicate passed to remove_transport/2