aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/src/heart.erl
diff options
context:
space:
mode:
authorMagnus Henoch <[email protected]>2016-11-21 11:48:54 +0000
committerMagnus Henoch <[email protected]>2016-11-21 11:48:54 +0000
commit5b9265ad19d6596a8b599eccc64accb67e3c664e (patch)
treefb0187d4333af4f7b1ee5c0ff75c86ec2047cd94 /lib/kernel/src/heart.erl
parent4683b5c227a238ee27f658bdfe2981c4b69acf09 (diff)
downloadotp-5b9265ad19d6596a8b599eccc64accb67e3c664e.tar.gz
otp-5b9265ad19d6596a8b599eccc64accb67e3c664e.tar.bz2
otp-5b9265ad19d6596a8b599eccc64accb67e3c664e.zip
Remove vestiges of watchdog support in heart
Hardware watchdog support was removed from heart in R13A, but there were still some vestiges in the code and the documentation. - Remove mentions of the HW_WD_DISABLE variable, as it's no longer used. - Remove the HEART_BEAT_BOOT_DELAY variable, as it was only used for the hardware watchdog.
Diffstat (limited to 'lib/kernel/src/heart.erl')
-rw-r--r--lib/kernel/src/heart.erl15
1 files changed, 5 insertions, 10 deletions
diff --git a/lib/kernel/src/heart.erl b/lib/kernel/src/heart.erl
index eea78aabdf..8fa48d56fb 100644
--- a/lib/kernel/src/heart.erl
+++ b/lib/kernel/src/heart.erl
@@ -198,16 +198,11 @@ start_portprogram() ->
end.
get_heart_timeouts() ->
- HeartOpts = case os:getenv("HEART_BEAT_TIMEOUT") of
- false -> "";
- H when is_list(H) ->
- "-ht " ++ H
- end,
- HeartOpts ++ case os:getenv("HEART_BEAT_BOOT_DELAY") of
- false -> "";
- W when is_list(W) ->
- " -wt " ++ W
- end.
+ case os:getenv("HEART_BEAT_TIMEOUT") of
+ false -> "";
+ H when is_list(H) ->
+ "-ht " ++ H
+ end.
check_start_heart() ->
case init:get_argument(heart) of