]> git.ipfire.org Git - thirdparty/chrony.git/commit
sources: update reference leap status early
authorMiroslav Lichvar <mlichvar@redhat.com>
Wed, 11 Mar 2020 16:03:00 +0000 (17:03 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 12 Mar 2020 13:07:12 +0000 (14:07 +0100)
commit4883086fc15a8aec7716daa6be564b2093329b7d
tree22cd6d88d2f2ace956dc10043c61e368c8cbcc90
parent2582be8754ab9603c64ee96a8d371dbb1e6f1b2a
sources: update reference leap status early

When a leap second status is updated by a source, don't wait for the
next source selection and full update of the reference. Count votes from
sources that passed the previous selection and update the reference leap
status directly.

This should allow leap seconds to spread quickly even when the
samples are dropped or delayed by the filters.
reference.c
reference.h
sources.c