时钟同步错误提示改成警告

This commit is contained in:
刘祥超
2022-09-25 09:40:28 +08:00
parent 19e6329a2b
commit 2cd1bb7f95

View File

@@ -31,7 +31,7 @@ func init() {
goman.New(func() {
err := sharedClockManager.Sync()
if err != nil {
remotelogs.Error("CLOCK", "sync clock failed: "+err.Error())
remotelogs.Warn("CLOCK", "sync clock failed: "+err.Error())
}
})
}
@@ -51,7 +51,7 @@ func (this *ClockManager) Start() {
for range ticker.C {
err := this.Sync()
if err != nil {
remotelogs.Error("CLOCK", "sync clock failed: "+err.Error())
remotelogs.Warn("CLOCK", "sync clock failed: "+err.Error())
}
}
}