ntp: Shorten NTP failure delay
authorAlok Barsode <alok.barsode@linux.intel.com>
Thu, 5 Apr 2012 10:20:22 +0000 (13:20 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 5 Apr 2012 15:56:36 +0000 (18:56 +0300)
commitde943a88d1933a12586948d0afbd908556ab3e9e
tree005bbf793142803ca7940e417e73a60e0c01cd65
parent1f452014fedfe317013245a223084037f9f2280e
ntp: Shorten NTP failure delay

If the NTP server failed to respond, NTP client wait for 16 seconds
before trying the next server. But since now we have the default
gateway as a possible candidate for NTP (which has higher priority over
global timeaservers), there might be a chance that it might fail to
respond to a NTP query (e.g a wifi router without ntp support).
We have to wait for 16 sec, untill NTP switches to the next server.
This seems like a long period, especially if you made timezone changes
and you want the NTP sync to happen asap. Hence reducing this timeout to
5 seconds.
src/ntp.c