mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 19:25:06 -05:00
Base poll adjustment on number of sourcestats samples
Instead of following skew changes, adjust polling interval so that the number of measurements used in the regression algorithm remains close to a target value. It can be configured with a new polltarget option (6 by default).
This commit is contained in:
3
conf.c
3
conf.c
@@ -397,6 +397,9 @@ parse_source(const char *line, NTP_Source_Type type)
|
||||
case CPS_BadMinstratum:
|
||||
LOG(LOGS_WARN, LOGF_Configure, "Unreadable minstratum value at line %d", line_number);
|
||||
break;
|
||||
case CPS_BadPolltarget:
|
||||
LOG(LOGS_WARN, LOGF_Configure, "Unreadable polltarget value at line %d", line_number);
|
||||
break;
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user