aboutsummaryrefslogtreecommitdiffstats
path: root/lib/diameter/src/base/diameter_watchdog.erl
diff options
context:
space:
mode:
authorAnders Svensson <[email protected]>2015-08-04 10:14:44 +0200
committerAnders Svensson <[email protected]>2015-08-05 10:16:32 +0200
commit9c0f2f2ce3ed040b3963d5b00cad0276c276d590 (patch)
tree62376f660ce74d0b156b26724c07a879ce868e23 /lib/diameter/src/base/diameter_watchdog.erl
parent84004d4f99271e8324f7d1e3fb8a3cd68109d456 (diff)
downloadotp-9c0f2f2ce3ed040b3963d5b00cad0276c276d590.tar.gz
otp-9c0f2f2ce3ed040b3963d5b00cad0276c276d590.tar.bz2
otp-9c0f2f2ce3ed040b3963d5b00cad0276c276d590.zip
Remove use of monotonic time in pre-18 code
This has been seen to be a bottleneck at high load: each undef results in a loop out to the code server. Originally implemented as suggested in the erts user's guide, in commits e6d19a18 and d4386254.
Diffstat (limited to 'lib/diameter/src/base/diameter_watchdog.erl')
-rw-r--r--lib/diameter/src/base/diameter_watchdog.erl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/diameter/src/base/diameter_watchdog.erl b/lib/diameter/src/base/diameter_watchdog.erl
index 0607c72818..66781d7b06 100644
--- a/lib/diameter/src/base/diameter_watchdog.erl
+++ b/lib/diameter/src/base/diameter_watchdog.erl
@@ -66,7 +66,6 @@
parent = self() :: pid(), %% service process
transport :: pid() | undefined, %% peer_fsm process
tref :: reference() %% reference for current watchdog timer
- | integer() %% monotonic time
| tuple() %% now()
| undefined,
dictionary :: module(), %% common dictionary