mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 09:05:06 -05:00
ntp: shorten presend delay to 2 seconds
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user