ntp: change default maxdelay to 3 seconds
This commit is contained in:
parent
3caa1e2f71
commit
80af04040a
3 changed files with 3 additions and 3 deletions
|
@ -2912,7 +2912,7 @@ If the user knows that round trip delays above a certain level should
|
|||
cause the measurement to be ignored, this level can be defined with the
|
||||
maxdelay command. For example, @code{maxdelay 0.3} would indicate that
|
||||
measurements with a round-trip delay of 0.3 seconds or more should be
|
||||
ignored.
|
||||
ignored. The default value is 3 seconds.
|
||||
|
||||
@item maxdelayratio
|
||||
This option is similar to the maxdelay option above. @code{chronyd}
|
||||
|
|
|
@ -53,7 +53,7 @@ typedef struct {
|
|||
#define SRC_DEFAULT_MINPOLL 6
|
||||
#define SRC_DEFAULT_MAXPOLL 10
|
||||
#define SRC_DEFAULT_PRESEND_MINPOLL 0
|
||||
#define SRC_DEFAULT_MAXDELAY 16.0
|
||||
#define SRC_DEFAULT_MAXDELAY 3.0
|
||||
#define SRC_DEFAULT_MAXDELAYRATIO 0.0
|
||||
#define SRC_DEFAULT_MAXDELAYDEVRATIO 10.0
|
||||
#define SRC_DEFAULT_MINSTRATUM 0
|
||||
|
|
|
@ -5,7 +5,7 @@ test_start "presend option"
|
|||
|
||||
min_sync_time=140
|
||||
max_sync_time=260
|
||||
client_server_options="presend 6"
|
||||
client_server_options="presend 6 maxdelay 16"
|
||||
|
||||
run_test || test_fail
|
||||
check_chronyd_exit || test_fail
|
||||
|
|
Loading…
Reference in a new issue