]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: include maxclockerror in source selection
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 22 Feb 2018 16:30:23 +0000 (17:30 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 26 Feb 2018 12:42:04 +0000 (13:42 +0100)
commit5308e0a25f9efdf01ead0b77e769bbb494661cd0
tree86d71c77acc16d65bef7b2fb232a85cadbc3a3f5
parentda862158bf57a114314e96799dbe9816e854f871
sources: include maxclockerror in source selection

In the source selection algorithm, include extra dispersion due to
maxclockerror in the root distance of sources that don't have new
samples (the last sample is older than span of all samples) to not
prefer unreachable sources with a short distance and small skew over
reachable sources for too long, and also to decrease their chances of
becoming falsetickers.
sources.c