Skip to content

Commit 1845ee8

Browse files
fix(monitoring): Replace unreachable ntp server
Because apple's time servers are officially not to be used for public projects and are also not accessible, they were exchanged for the servers of Google and Cloudflare.
1 parent f2e65df commit 1845ee8

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

monitor/ntp.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@ var servers = []string{
2121
"time6.aliyun.com",
2222
"time7.aliyun.com",
2323

24-
"time1.apple.com",
25-
"time2.apple.com",
26-
"time3.apple.com",
27-
"time4.apple.com",
28-
"time5.apple.com",
29-
"time6.apple.com",
30-
"time7.apple.com",
24+
"time.google.com",
25+
"time1.google.com",
26+
"time2.google.com",
27+
"time3.google.com",
28+
"time4.google.com",
29+
30+
"time.cloudflare.com",
3131
}
3232

3333
var availIndex = 0

0 commit comments

Comments
 (0)