ntp: shorten presend delay to 2 seconds

This commit is contained in:
Miroslav Lichvar 2016-11-23 15:55:37 +01:00
parent 2408bbcd77
commit d23c647e34
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"