chiark / gitweb /
timesyncd: allow two missed replies before reselecting server
authorMiroslav Lichvar <mlichvar@redhat.com>
Tue, 2 Sep 2014 12:29:51 +0000 (14:29 +0200)
committerKay Sievers <kay@vrfy.org>
Tue, 2 Sep 2014 12:29:51 +0000 (14:29 +0200)
commite8206972be6a7ebeb198cd0d400bc7a94a6a5fc5
treef50aa6e0670e32bddc0abb42c653c4bd04e48ff2
parent665c6a9eab46b0b253af6566ca9fc70c866b3fcd
timesyncd: allow two missed replies before reselecting server

After receiving a reply from the server, allow two missed replies before
switching to another server to avoid unnecessary clock hopping when
packets are getting lost in the network.
src/timesync/timesyncd-manager.c
src/timesync/timesyncd-manager.h