mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 21:45:07 -05:00
ntp: reduce poll adjustment with specific failed tests
Reduce the poll increment for measurements that are rejected due to a failed maxdelay* test in order to better track the source.
This commit is contained in:
@@ -1796,8 +1796,8 @@ process_response(NCR_Instance inst, NTP_Local_Address *local_addr,
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
/* Slowly increase the polling interval if we can't get good packet */
|
||||
adjust_poll(inst, 0.1);
|
||||
/* Slowly increase the polling interval if we can't get a good response */
|
||||
adjust_poll(inst, testD ? 0.02 : 0.1);
|
||||
}
|
||||
|
||||
/* If in client mode, no more packets are expected to be coming from the
|
||||
|
||||
Reference in New Issue
Block a user