]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Increase burst polling interval
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 19 Apr 2010 13:53:39 +0000 (15:53 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 27 Apr 2010 12:35:27 +0000 (14:35 +0200)
To avoid getting KoD RATE from NTP server (triggering discard minimum 1)
when burst sampling, increase polling interval to 2 seconds.

ntp_core.c

index 7ca8dc11d4c73b65c19f687c57a906b30d326add..ca9a32f579031e490d13ebbed5498f78b26132d1 100644 (file)
@@ -1221,7 +1221,7 @@ receive_packet(NTP_Packet *message, struct timeval *now, double now_err, NCR_Ins
     case MD_BURST_WAS_OFFLINE:
 
       requeue_transmit = 1;
-      delay_time = 0.0;
+      delay_time = SAMPLING_SEPARATION;
       break;
 
     default: