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>
|
stratumweight <dist-in-seconds>
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
By default, it is 1 second. This usually means that sources with lower stratum
|
By default, the weight is 0.001 seconds. This means that stratum of the
|
||||||
will be preferred to sources with higher stratum even when their distance is
|
sources in the selection process matters only when the differences between the
|
||||||
significantly worse. Setting @code{stratumweight} to 0 makes @code{chronyd}
|
distances are in milliseconds.
|
||||||
ignore stratum when selecting the source.
|
|
||||||
|
|
||||||
@c }}}
|
@c }}}
|
||||||
@c {{{ tempcomp
|
@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 max_slew_rate = 1e6 / 12.0; /* in ppm */
|
||||||
|
|
||||||
static double reselect_distance = 1e-4;
|
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 double combine_limit = 3.0;
|
||||||
|
|
||||||
static int cmd_port = DEFAULT_CANDM_PORT;
|
static int cmd_port = DEFAULT_CANDM_PORT;
|
||||||
|
|
Loading…
Reference in a new issue