[systemd-devel] [PATCH 8/8] timesyncd: wait before reconnecting to first server
Kay Sievers
kay at vrfy.org
Fri Aug 29 09:45:24 PDT 2014
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar <mlichvar at redhat.com> wrote:
> When all servers are exhausted, wait for one poll interval before trying
> to connect again to the first server in the list. Also, keep increasing
> the polling interval to make sure a client not getting any valid replies
> will not send requests to any server more frequently than is allowed by
> the maximum polling interval.
What is the reason to keep track if we asked all servers, and not just
decrease the frequency of switching them?
There is also some code in src/timesync/timesyncd-manager.c +209:
/* re-arm timer with increasing timeout,
in case the packets never arrive back */
which used to work but maybe broke with other changes.
Kay
More information about the systemd-devel
mailing list