aboutsummaryrefslogtreecommitdiff
path: root/applets/individual.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-12-07 17:29:03 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2013-12-07 17:29:03 +0100
commit777be10ebebb4afdaf057a5abe094c86eb6d8a2c (patch)
tree71ac6b6f7d6354c3ae464a9213aa3e44f69f866c /applets/individual.c
parent6c46eed6e935db43dedbff1d026e4cf68f0bc67e (diff)
downloadbusybox-777be10ebebb4afdaf057a5abe094c86eb6d8a2c.tar.gz
ntpd: do not invalidate datapoints after step
Used to set p->filter_datapoint[i].d_dispersion = MAXDISP and clear reachable bits, but this proved to be too agressive: after step (tested with suspinding laptop for ~30 secs), this caused all previous data to be considered invalid, making us needing to collect full ~8 datapoins per peer after step in order to start trusting them. In turn, this was making poll interval decrease even after step was done. (Poll interval decreases already before step in this scenario, because we see large offsets and end up with no good peer to select). function old new delta reset_peer_stats 157 139 -18 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'applets/individual.c')
0 files changed, 0 insertions, 0 deletions