conf: change default stratumweight to 0.001
This commit is contained in:
parent
c743ecbf50
commit
df63790bb3
2 changed files with 4 additions and 5 deletions
|
@ -2965,10 +2965,9 @@ The syntax is
|
|||
stratumweight <dist-in-seconds>
|
||||
@end example
|
||||
|
||||
By default, it is 1 second. This usually means that sources with lower stratum
|
||||
will be preferred to sources with higher stratum even when their distance is
|
||||
significantly worse. Setting @code{stratumweight} to 0 makes @code{chronyd}
|
||||
ignore stratum when selecting the source.
|
||||
By default, the weight is 0.001 seconds. This means that stratum of the
|
||||
sources in the selection process matters only when the differences between the
|
||||
distances are in milliseconds.
|
||||
|
||||
@c }}}
|
||||
@c {{{ tempcomp
|
||||
|
|
2
conf.c
2
conf.c
|
@ -92,7 +92,7 @@ static double max_clock_error = 1.0; /* in ppm */
|
|||
static double max_slew_rate = 1e6 / 12.0; /* in ppm */
|
||||
|
||||
static double reselect_distance = 1e-4;
|
||||
static double stratum_weight = 1.0;
|
||||
static double stratum_weight = 1e-3;
|
||||
static double combine_limit = 3.0;
|
||||
|
||||
static int cmd_port = DEFAULT_CANDM_PORT;
|
||||
|
|
Loading…
Reference in a new issue