[management] Log BufferUpdateAccountPeers caller (#4217)

This commit is contained in:
Pascal Fischer
2025-07-24 18:33:58 +02:00
committed by GitHub
parent 643730f770
commit c435c2727f

View File

@@ -1291,6 +1291,8 @@ type bufferUpdate struct {
} }
func (am *DefaultAccountManager) BufferUpdateAccountPeers(ctx context.Context, accountID string) { func (am *DefaultAccountManager) BufferUpdateAccountPeers(ctx context.Context, accountID string) {
log.WithContext(ctx).Tracef("buffer updating peers for account %s from %s", accountID, util.GetCallerName())
bufUpd, _ := am.accountUpdateLocks.LoadOrStore(accountID, &bufferUpdate{}) bufUpd, _ := am.accountUpdateLocks.LoadOrStore(accountID, &bufferUpdate{})
b := bufUpd.(*bufferUpdate) b := bufUpd.(*bufferUpdate)