mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 06:45:07 -05:00
Each source has a score against currently selected source which is updated (multiplied by ratio of their distances) when one of the two sources has a new sample. When the score reaches a limit, the source will be selected. This should allow to slowly select the source with minimum distance without frequent reselecting. To avoid switching between sources with very variable distances (e.g. on LAN or when upstream server uses a longer polling interval), sources that are currently not selected are penalized by a fixed distance. This can be configured with new reselectdist directive (100 microseconds by default).
33 KiB
33 KiB