ntp: update comment about minimum request spacing

This commit is contained in:
Miroslav Lichvar 2022-12-05 16:44:38 +01:00
parent 8247b8525f
commit 1a98c5ffa9

View file

@ -89,8 +89,8 @@ static int permanent_ts_options;
itself. To avoid processing of the response without the HW timestamp, we itself. To avoid processing of the response without the HW timestamp, we
monitor events returned by select() and suspend reading of packets from the monitor events returned by select() and suspend reading of packets from the
receive queue for up to 200 microseconds. As the requests are normally receive queue for up to 200 microseconds. As the requests are normally
separated by at least 200 milliseconds, it is sufficient to monitor and separated by at least about 1 millisecond (1/8th of the minimum poll), it is
suspend one socket at a time. */ sufficient to monitor and suspend one socket at a time. */
static int monitored_socket; static int monitored_socket;
static int suspended_socket; static int suspended_socket;
static SCH_TimeoutID resume_timeout_id; static SCH_TimeoutID resume_timeout_id;