From 60d8586b6de9fc78dd08e40b8855daf3520e50cf Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Mon, 7 Apr 2014 17:11:23 +0200 Subject: [PATCH] ntp: reduce burst timeout to 2.5 seconds This reduces the maximum time initstepslew can take. --- ntp_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntp_core.c b/ntp_core.c index 3d55d72..60b6f0f 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -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