Skip to content

Commit

Permalink
fix: 更换NTP为腾讯云NTP
Browse files Browse the repository at this point in the history
  • Loading branch information
ZianTT authored Jun 28, 2024
1 parent 2db41c3 commit 3442814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def load_config():
c = ntplib.NTPClient()
skip = False
try:
response = c.request('ntp.sjtu.edu.cn')
response = c.request('ntp.tencent.com')
except Exception:
logger.error("时间同步出现错误,将跳过时间检查")
skip = True
Expand Down

0 comments on commit 3442814

Please sign in to comment.