]> git.ipfire.org Git - thirdparty/chrony.git/commit
sys_macosx: reset drift removal timer after spike in offset_sd
authorBryan Christianson <bryan@whatroute.net>
Fri, 28 Aug 2015 11:21:01 +0000 (23:21 +1200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 31 Aug 2015 14:29:24 +0000 (16:29 +0200)
commit67ce6bd279b436b16dcb182ff3da631164ab829f
treee24be4383da6b8ff1347b2dec5130da46be5f4b4
parent770db1fe02b775f0ef1da8dad79ef26e7af01c2b
sys_macosx: reset drift removal timer after spike in offset_sd

When a large spike occurs in offset_sd the drift removal interval can be
set to an excessively long time, although what ever event caused the
perturbation has passed. At the next set_sync_status() we now compare
the expected drift removal interval with that currently in effect. If
they are significantly different, the current timer is cancelled and new
cycle started using the new drift removal interval.
sys_macosx.c