]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
ntp: reduce burst timeout to 2.5 seconds
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 7 Apr 2014 15:11:23 +0000 (17:11 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Wed, 9 Apr 2014 07:59:58 +0000 (09:59 +0200)
This reduces the maximum time initstepslew can take.

ntp_core.c

index 3d55d72c95356308febd0496ccaa33b6aa4d2e78..60b6f0faab67bc9919d2996bb28aacd17e6000cc 100644 (file)
@@ -184,7 +184,7 @@ struct NCR_Instance_Record {
 
 /* Time to wait before retransmitting in burst mode, if we did not get
    a reply to the previous probe */
-#define BURST_TIMEOUT 8.0
+#define BURST_TIMEOUT 2.5
 
 /* Number of samples in initial burst */
 #define IBURST_GOOD_SAMPLES 4