8 writes to MaxAttempts
Microsoft.DotNet.Build.Tasks.Feed (2)
src\common\AzureStorageUtils.cs (1)
109MaxAttempts = 5,
src\common\GeneralUtils.cs (1)
33MaxAttempts = 5
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
DownloadFileTests.cs (3)
270RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 } 306RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 } 380RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }
Microsoft.DotNet.Deployment.Tasks.Links (2)
Microsoft.DotNet.Helix.Sdk (1)
FindDotNetCliPackage.cs (1)
24MaxAttempts = 10,
5 references to MaxAttempts
Microsoft.Arcade.Common (2)
ExponentialRetry.cs (2)
43for (int i = 0; i < MaxAttempts; i++) 45string attempt = $"Attempt {i + 1}/{MaxAttempts}";
Microsoft.DotNet.Build.Tasks.Feed (1)
src\common\AzureStorageUtils.cs (1)
135throw new Exception($"Failed to upload local file '{filePath}' to '{blobPath} in {retryHandler.MaxAttempts} attempts. See inner exception for details.", mostRecentlyCaughtException);
Microsoft.DotNet.Build.Tasks.Feed.Tests (2)
DownloadFileTests.cs (2)
290actualError.WithMessage($"Failed to construct download URL helper after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details*"); 362actualError.WithMessage($"Failed to download '{path}' after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details.");