From d3ae81e601faf20c6faa4b06dfc0dd3d5471cbd0 Mon Sep 17 00:00:00 2001 From: pascal Date: Thu, 21 May 2026 17:37:17 +0200 Subject: [PATCH] use uncanceled context --- management/server/peer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/management/server/peer.go b/management/server/peer.go index 0bf49c634..052640871 100644 --- a/management/server/peer.go +++ b/management/server/peer.go @@ -1327,6 +1327,7 @@ func (am *DefaultAccountManager) UpdateAccountPeers(ctx context.Context, account // UpdateAffectedPeers updates only the specified peers that belong to an account. func (am *DefaultAccountManager) UpdateAffectedPeers(ctx context.Context, accountID string, peerIDs []string) { + ctx = context.WithoutCancel(ctx) log.WithContext(ctx).Tracef("UpdateAffectedPeers: %d peers for account %s", len(peerIDs), accountID) _ = am.networkMapController.UpdateAffectedPeers(ctx, accountID, peerIDs) }