Add more public NTP servers

Using the [this comprehensive list](https://gist.github.com/mutin-sa/eea1c396b1e610a2da1e5550d94b0453) 
Added pool.ntp.org at the top since it's globally distributed and isolated from specific manufacturers (and are what most routers default use).
Added the other major network providers Google and AWS 
Added Windows to pair with Apple
This commit is contained in:
Marc Brooks 2025-02-26 15:10:56 -06:00
parent 38d6f57786
commit 64421caa7f
1 changed files with 4 additions and 0 deletions

4
ntp.go
View File

@ -22,8 +22,12 @@ const (
var (
timeSyncRetryInterval = 0 * time.Second
defaultNTPServers = []string{
"pool.ntp.org",
"time.cloudflare.com",
"time.google.com",
"time.aws.com",
"time.apple.com",
"time.windows.com",
}
)