update logs and metrics

This commit is contained in:
Pascal Fischer
2025-05-08 20:55:06 +02:00
parent 676f201c83
commit 93a0315120

View File

@@ -1282,7 +1282,7 @@ func (am *DefaultAccountManager) UpdateAccountPeers(ctx context.Context, account
log.WithContext(ctx).Infof("updateAccountPeers: waiting for updates to complete took %s", time.Since(globalStart))
if am.metrics != nil {
am.metrics.AccountManagerMetrics().CountUpdateAccountPeersDuration(time.Since(start))
am.metrics.AccountManagerMetrics().CountUpdateAccountPeersDuration(time.Since(globalStart))
}
}