ntp: shorten presend delay to 2 seconds
This commit is contained in:
parent
2408bbcd77
commit
d23c647e34
3 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue