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) }