diff --git a/doc/chrony.conf.adoc b/doc/chrony.conf.adoc index 6c39635..786fdcd 100644 --- a/doc/chrony.conf.adoc +++ b/doc/chrony.conf.adoc @@ -200,7 +200,7 @@ presend 9 ---- + when the polling interval is 512 seconds or more, an extra NTP client packet -will be sent to the server a short time (4 seconds) before making the actual +will be sent to the server a short time (2 seconds) before making the actual measurement. + The *presend* option cannot be used in the *peer* directive. diff --git a/ntp_core.c b/ntp_core.c index 07673e8..7cdcd70 100644 --- a/ntp_core.c +++ b/ntp_core.c @@ -223,7 +223,7 @@ static ARR_Instance broadcasts; #define IBURST_TOTAL_SAMPLES SOURCE_REACH_BITS /* Time to wait after sending packet to 'warm up' link */ -#define WARM_UP_DELAY 4.0 +#define WARM_UP_DELAY 2.0 /* Compatible NTP protocol versions */ #define NTP_MAX_COMPAT_VERSION NTP_VERSION diff --git a/test/simulation/114-presend b/test/simulation/114-presend index 1371aa8..3113253 100755 --- a/test/simulation/114-presend +++ b/test/simulation/114-presend @@ -3,7 +3,7 @@ . ./test.common test_start "presend option" -min_sync_time=140 +min_sync_time=136 max_sync_time=260 client_server_options="presend 6 maxdelay 16" client_conf="maxdistance 10"