arcade-services icon indicating copy to clipboard operation
arcade-services copied to clipboard

Update-dependencies with an arcade update can sometimes take an excessive time

Open mmitche opened this issue 1 year ago • 0 comments

If update-dependencies is run with an arcade BAR build ID, it appears that the process takes an excessive amount of time gathering up the arcade files, at least if they are being obtained from AzDO. It hink most of this time is spent in:

public async Task<string> GetTokenForAccountAsync(string account)
{
    var credential = GetCredential(account);
    return (await credential.GetTokenAsync(new TokenRequestContext([AzureDevOpsScope]), cancellationToken: default)).Token;
}

mmitche avatar Dec 09 '24 20:12 mmitche