mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 23:25: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;
|
break;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
/* Slowly increase the polling interval if we can't get good packet */
|
/* Slowly increase the polling interval if we can't get a good response */
|
||||||
adjust_poll(inst, 0.1);
|
adjust_poll(inst, testD ? 0.02 : 0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* If in client mode, no more packets are expected to be coming from the
|
/* If in client mode, no more packets are expected to be coming from the
|
||||||
|
|||||||
Reference in New Issue
Block a user