@@ -515,16 +515,13 @@ logdir /var/log/chrony
515
515
log measurements statistics tracking
516
516
517
517
# makestep <threshold> <limit>
518
- # We allow chrony to step the system clock if we are more than a day out,
519
- # regardless of how many clock updates have occurred since boot.
520
- # The boundary NTP servers are configured with local reference mode, which
521
- # means that if they start up without external connectivity, they will appear
522
- # as authoritative servers even if they are advertising January 1987
523
- # (which is the default system clock on a gimlet after boot).
524
- # This configuration allows a one-off adjustment once RSS begins and the
525
- # boundary servers are synchronised, after which the clock will advance
526
- # monotonically forwards.
527
- makestep 86400 -1
518
+ # We allow chrony to step the system clock up to three times on startup if we
519
+ # are more than a second out. Even though boundary NTP servers are configured
520
+ # with local reference mode, they will not appear as authoritative servers
521
+ # until they synchronize upstream. This configuration allows us to converge
522
+ # quickly once the boundary servers converge. After this the clock will advance
523
+ # monotonically forward.
524
+ makestep 1.0 3
528
525
529
526
# When a leap second occurs we slew the clock over approximately 37 seconds.
530
527
leapsecmode slew
@@ -588,8 +585,10 @@ maxslewrate 2708.333
588
585
589
586
let new_config = if * is_boundary {
590
587
for s in servers {
591
- let str_line =
592
- format ! ( "pool {} iburst maxdelay 0.1 maxsources 16\n " , s) ;
588
+ let str_line = format ! (
589
+ "pool {} iburst maxdelay 0.1 minpoll 0 maxpoll 3 maxsources 16\n " ,
590
+ s
591
+ ) ;
593
592
contents. push_str ( & str_line)
594
593
}
595
594
contents
0 commit comments