]> git.ipfire.org Git - thirdparty/chrony.git/commit
sourcestats: enable selection with maxsamples < 3
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Aug 2019 15:53:00 +0000 (17:53 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 6 Aug 2019 14:11:07 +0000 (16:11 +0200)
commit28e3e4cdca0b98db480ce5b304006e6339146c33
tree028beb239fcc0e2b4cfe51e20fa2ba5215d0f5db
parent24134c78e89b5c13c9a972dd6bfaf0c77083b368
sourcestats: enable selection with maxsamples < 3

Setting maxsamples to 1 or 2 prevented the source from being selected as
the regression would always fail. Handle this as a special case with
disabled frequency tracking in order to enable a fast reference update
with the -q/-Q option.
doc/chrony.conf.adoc
sourcestats.c