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
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to