diff options
author | Frank Hunleth <[email protected]> | 2018-03-16 10:11:09 -0400 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2018-04-10 10:25:59 +0200 |
commit | e5e2fd334b9fec2bedab9ee6987b96ca2aec1f87 (patch) | |
tree | f86f6a95dee174c089243626755bb7c448e7280c | |
parent | bdbb5f0376678c0aae289b3f9264a2bd4d9b96ee (diff) | |
download | otp-e5e2fd334b9fec2bedab9ee6987b96ca2aec1f87.tar.gz otp-e5e2fd334b9fec2bedab9ee6987b96ca2aec1f87.tar.bz2 otp-e5e2fd334b9fec2bedab9ee6987b96ca2aec1f87.zip |
kernel: Update note about heart rebooting on NTP updates
The timestamp code in heart uses monotonic time so it is immune to NTP
changes.
-rw-r--r-- | lib/kernel/doc/src/heart.xml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/kernel/doc/src/heart.xml b/lib/kernel/doc/src/heart.xml index 5b5b71e521..46c7ce60b6 100644 --- a/lib/kernel/doc/src/heart.xml +++ b/lib/kernel/doc/src/heart.xml @@ -59,8 +59,9 @@ <pre> % <input>erl -heart -env HEART_BEAT_TIMEOUT 30 ...</input></pre> <p>The value (in seconds) must be in the range 10 < X <= 65535.</p> - <p>Notice that if the system clock is adjusted with - more than <c>HEART_BEAT_TIMEOUT</c> seconds, <c>heart</c> + <p>When running on OSs lacking support for monotonic time, + <c>heart</c> is susceptible to system clock adjustments of more than + <c>HEART_BEAT_TIMEOUT</c> seconds. When this happens, <c>heart</c> times out and tries to reboot the system. This can occur, for example, if the system clock is adjusted automatically by use of the Network Time Protocol (NTP).</p> |