LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File 0240-kernel-Update-note-about-heart-rebooting-on-NTP-upda.patch of Package erlang (Project home:Ledest:erlang:20)

From e5e2fd334b9fec2bedab9ee6987b96ca2aec1f87 Mon Sep 17 00:00:00 2001
From: Frank Hunleth <fhunleth@troodon-software.com>
Date: Fri, 16 Mar 2018 10:11:09 -0400
Subject: [PATCH] kernel: Update note about heart rebooting on NTP updates

The timestamp code in heart uses monotonic time so it is immune to NTP
changes.
---
 lib/kernel/doc/src/heart.xml | 5 +++--
 1 file 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>
-- 
2.16.3