10 writes to MinimumThroughput
Microsoft.Extensions.Http.Resilience.Tests (10)
Polly\HttpRetryBudgetOptionsTests.cs (1)
52MinimumThroughput = minimumThroughput,
Polly\HttpRetryResiliencePipelineBuilderExtensionsTests.cs (7)
198var pipeline = CreatePipeline(new() { RetryRatio = 0.5, MinimumThroughput = 1 }); 215var pipeline = CreatePipeline(new() { RetryRatio = 0.1, MinimumThroughput = 100 }); 237var pipeline = CreatePipeline(new() { RetryRatio = 1, MinimumThroughput = 1 }, maxRetryAttempts: 1); 249var pipeline = CreatePipeline(new() { RetryRatio = 0.5, MinimumThroughput = 1 }); 268new() { RetryRatio = 0.5, MinimumThroughput = 1 }, 289RetryBudget = new() { MinimumThroughput = 1000 }, 310var pipeline = CreatePipeline(new() { RetryRatio = 0.5, MinimumThroughput = 4 }, maxRetryAttempts: 1);
Resilience\HttpClientBuilderExtensionsTests.RetryBudget.cs (2)
141builder.AddStandardResilienceHandler(o => o.Retry.RetryBudget = new() { MinimumThroughput = 0 }); 230options.Retry.RetryBudget.MinimumThroughput = 1;
5 references to MinimumThroughput
Microsoft.Extensions.Http.Resilience (3)
Polly\HttpRetryBudgetOptions.cs (2)
17/// Once the window contains at least <see cref="MinimumThroughput"/> requests, a retry is only allowed while the number 44/// A value of 0 suppresses every retry, regardless of <see cref="MinimumThroughput"/>.
Polly\HttpRetryResiliencePipelineBuilderExtensions.cs (1)
100var minimumThroughput = budgetOptions.MinimumThroughput;
Microsoft.Extensions.Http.Resilience.Tests (2)
Polly\HttpRetryBudgetOptionsTests.cs (1)
20options.MinimumThroughput.Should().Be(10);
Resilience\HttpClientBuilderExtensionsTests.RetryBudget.cs (1)
96budget.MinimumThroughput.Should().Be(20);