aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_watchdog.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2017-08-10 11:14:14 +0200
committerAnders Svensson <[email protected]>2017-08-10 13:50:26 +0200
commiteb5fa7e2a0f67924828ea3d81891b86d08a53b0c (patch)
treed2e90e9c3dc613d8390ce23abf7263cb3558c00f /lib/diameter/src/base/diameter_watchdog.erl
parent2be3e00698dea8236e60f3262c50b37eebfb4a04 (diff)
downloadotp-eb5fa7e2a0f67924828ea3d81891b86d08a53b0c.tar.gz
otp-eb5fa7e2a0f67924828ea3d81891b86d08a53b0c.tar.bz2
otp-eb5fa7e2a0f67924828ea3d81891b86d08a53b0c.zip
Add service_opt() traffic_counters
To be able to disable the counting of messages for which application callbacks take place. Messages sent/handled by diameter itself are always counted.
Diffstat (limited to 'lib/diameter/src/base/diameter_watchdog.erl')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index 294325751e..b2172356ee 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -154,7 +154,7 @@ i({Ack, T, Pid, {Opts,
receive_data = RecvData,
dictionary = Dict0,
config =
- maps:without(CodecKeys,
+ maps:without([traffic_counters | CodecKeys],
config(SvcOpts#{restrict => restrict(Nodes),
suspect => 1,
okay => 3},