log duration of updateChecksIfNew execution

This commit is contained in:
Zoltán Papp
2026-02-18 18:43:48 +01:00
parent 3a84475d14
commit 93f530637d

View File

@@ -895,9 +895,11 @@ func (e *Engine) handleSync(update *mgmProto.SyncResponse) error {
// todo update signal
}
uCheckTime := time.Now()
if err := e.updateChecksIfNew(update.Checks); err != nil {
return err
}
log.Infof("update check finished in %s", time.Since(uCheckTime))
nm := update.GetNetworkMap()
if nm == nil {