aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kernel/doc
diff options
context:
space:
mode:
authorFrank Hunleth <[email protected]>2018-03-16 10:11:09 -0400
committerLukas Larsson <[email protected]>2018-04-10 10:25:59 +0200
commite5e2fd334b9fec2bedab9ee6987b96ca2aec1f87 (patch)
treef86f6a95dee174c089243626755bb7c448e7280c /lib/kernel/doc
parentbdbb5f0376678c0aae289b3f9264a2bd4d9b96ee (diff)
downloadotp-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.
Diffstat (limited to 'lib/kernel/doc')
-rw-r--r--lib/kernel/doc/src/heart.xml5
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 &lt; X &lt;= 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>