ntp: increase socket resume timeout to 1 millisecond

This seems to work significantly better on some hardware and is still
shorter than burst interval at the minimum configurable poll.
This commit is contained in:
Miroslav Lichvar 2023-03-09 11:37:45 +01:00
parent 3ea3e0efd7
commit ccebec3eb6

View file

@ -91,7 +91,7 @@ static int permanent_ts_options;
suspend reading of packets from the receive queue until a HW transmit
timestamp is received from the error queue or a timeout reached. */
#define RESUME_TIMEOUT 200.0e-6
#define RESUME_TIMEOUT 0.001
struct HwTsSocket {
int sock_fd;