On 9 December 2017 at 09:40, Christian Weisgerber <[email protected]>
wrote:

> On 2017-12-08, Darren Tucker <[email protected]> wrote:
>
> > If your hardware doesn't have a clock (or the clock is bad) then it can
> > take ntpd a long time to adjust it back to the correct time (it uses
> > adjtime(), which I think adjusts at +/- 10%).
>
> Actually, 5000 parts per million, so 0.5%.
>

ntp_update_second(int64_t *adjust)
[...]
        if (adjtimedelta > 0)
                adj = MIN(5000, adjtimedelta);
        else
                adj = MAX(-5000, adjtimedelta);

I sit corrected :-).

-- 
Darren Tucker (dtucker at dtucker.net)
GPG key 11EAA6FA / A86E 3E07 5B19 5880 E860  37F4 9357 ECEF 11EA A6FA (new)
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Reply via email to