[systemd-devel] [systemd-commits] src/timesync
Miroslav Lichvar
mlichvar at redhat.com
Thu Feb 5 07:44:44 PST 2015
On Wed, Feb 04, 2015 at 06:28:59PM +0100, Zbigniew Jędrzejewski-Szmek wrote:
> On Wed, Feb 04, 2015 at 06:24:13PM +0100, Lennart Poettering wrote:
> > - If we did not manage to get a successful sync, try again
> > immediately, but not any more often than once per 10s or so...
> I think we should fall back here too, maybe more slowly. In case we can't
> connect, we shouldn't spam the network too much.
Yes, unless sendto() is failing (i.e. no packet was sent) the polling
interval should be increasing exponentially up to the maximum (4096 s)
to prevent overloading network or servers. Once per 10 seconds is way
too frequent.
--
Miroslav Lichvar
More information about the systemd-devel
mailing list