[management] Add logs for update channel (#4527)

This commit is contained in:
Pascal Fischer
2025-09-23 12:06:10 +02:00
committed by GitHub
parent 5853b5553c
commit 58faa341d2
2 changed files with 2 additions and 0 deletions

View File

@@ -965,6 +965,7 @@ func (am *DefaultAccountManager) expireAndUpdatePeers(ctx context.Context, accou
if len(peerIDs) != 0 {
// this will trigger peer disconnect from the management service
log.Debugf("Expiring %d peers for account %s", len(peerIDs), accountID)
am.peersUpdateManager.CloseChannels(ctx, peerIDs)
am.BufferUpdateAccountPeers(ctx, accountID)
}