]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
ntp: update comment about minimum request spacing
authorMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Dec 2022 15:44:38 +0000 (16:44 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 5 Dec 2022 15:44:38 +0000 (16:44 +0100)
ntp_io_linux.c

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