mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 17:35:06 -05:00
ntp: don't reset polling interval when switching to/from online
This allows chronyd to ramp up the polling interval even when the source is frequently switched between the online and offline modes.
This commit is contained in:
@@ -851,6 +851,7 @@ slew_sources(struct timespec *raw,
|
||||
if (record->remote_addr) {
|
||||
if (change_type == LCL_ChangeUnknownStep) {
|
||||
NCR_ResetInstance(record->data);
|
||||
NCR_ResetPoll(record->data);
|
||||
} else {
|
||||
NCR_SlewTimes(record->data, cooked, dfreq, doffset);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user