diff --git a/VERSION b/VERSION index f61ca7c60..9704c9bc9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.163.10 +0.163.11 diff --git a/timesource/timesource.go b/timesource/timesource.go index 477b56598..fd010fbc6 100644 --- a/timesource/timesource.go +++ b/timesource/timesource.go @@ -14,7 +14,7 @@ import ( const ( // DefaultMaxAllowedFailures defines how many failures will be tolerated. - DefaultMaxAllowedFailures = 1 + DefaultMaxAllowedFailures = 4 // FastNTPSyncPeriod period between ntp synchronizations before the first // successful connection. @@ -31,10 +31,14 @@ const ( // defaultServers will be resolved to the closest available, // and with high probability resolved to the different IPs var defaultServers = []string{ - "0.pool.ntp.org", - "1.pool.ntp.org", - "2.pool.ntp.org", - "3.pool.ntp.org", + "time.apple.com", + "pool.ntp.org", + "time.cloudflare.com", + "time.windows.com", + "ntp.neu.edu.cn", + "ntp.nict.jp", + "amazon.pool.ntp.org", + "android.pool.ntp.org", } var errUpdateOffset = errors.New("failed to compute offset")