10 writes to MaxAttempts
Microsoft.DotNet.Build.Tasks.Feed (3)
src\common\AzureStorageUtils.cs (1)
109MaxAttempts = 5,
src\common\GeneralUtils.cs (1)
33MaxAttempts = 5
src\PublishArtifactsInManifestBase.cs (1)
225MaxAttempts = 5,
Microsoft.DotNet.Build.Tasks.Feed.Tests (4)
PublishToSymbolServerTest.cs (4)
272publishTask.RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }; 315publishTask.RetryHandler = new ExponentialRetry() { MaxAttempts = 3, DelayBase = 1 }; 358publishTask.RetryHandler = new ExponentialRetry() { MaxAttempts = 2, DelayBase = 1 }; 421publishTask.RetryHandler = new ExponentialRetry() {MaxAttempts = 3, DelayBase = 1};
Microsoft.DotNet.Deployment.Tasks.Links (2)
Microsoft.DotNet.Helix.Sdk (1)
FindDotNetCliPackage.cs (1)
24MaxAttempts = 10,
8 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 (3)
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);
src\PublishArtifactsInManifestBase.cs (2)
940$"Failed to get container id after {RetryHandler.MaxAttempts} attempts. See inner exception for details, {mostRecentlyCaughtException}"); 997$"Failed to download local file '{path}' after {RetryHandler.MaxAttempts} attempts. See inner exception for details.", mostRecentlyCaughtException);
Microsoft.DotNet.Build.Tasks.Feed.Tests (3)
PublishToSymbolServerTest.cs (3)
299Assert.Contains($"Failed to download local file '{path}' after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details.", actualError.Message); 342Assert.Contains($"Failed to download local file '{path}' after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details.", actualError.Message); 447Assert.Contains($"Failed to get container id after {publishTask.RetryHandler.MaxAttempts} attempts. See inner exception for details,", actualError.Message);