Skip to content

Commit 787d7b2

Browse files
Copilottroglobit
andcommitted
Fix NTP client stratum selection by setting stratumweight to 0.0
Co-authored-by: troglobit <183517+troglobit@users.noreply.github.com>
1 parent 7bcbd3c commit 787d7b2

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

board/common/rootfs/etc/chrony/chrony.conf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,8 @@ rtcsync
2525
# Step the system clock instead of slewing it if the adjustment is
2626
# larger than one second, but only in the first three clock updates.
2727
makestep 1 3
28+
29+
# Prioritize stratum over distance in source selection.
30+
# Default is 0.001, which means stratum only matters when distances differ
31+
# by >1ms. Setting to 0.0 ensures lower stratum sources are always preferred.
32+
stratumweight 0.0

0 commit comments

Comments
 (0)