10 writes to MinimumThroughput
Microsoft.Extensions.Http.Resilience.Tests (10)
Polly\HttpRetryBudgetOptionsTests.cs (1)
52
MinimumThroughput
= minimumThroughput,
Polly\HttpRetryResiliencePipelineBuilderExtensionsTests.cs (7)
198
var pipeline = CreatePipeline(new() { RetryRatio = 0.5,
MinimumThroughput
= 1 });
215
var pipeline = CreatePipeline(new() { RetryRatio = 0.1,
MinimumThroughput
= 100 });
237
var pipeline = CreatePipeline(new() { RetryRatio = 1,
MinimumThroughput
= 1 }, maxRetryAttempts: 1);
249
var pipeline = CreatePipeline(new() { RetryRatio = 0.5,
MinimumThroughput
= 1 });
268
new() { RetryRatio = 0.5,
MinimumThroughput
= 1 },
289
RetryBudget = new() {
MinimumThroughput
= 1000 },
310
var pipeline = CreatePipeline(new() { RetryRatio = 0.5,
MinimumThroughput
= 4 }, maxRetryAttempts: 1);
Resilience\HttpClientBuilderExtensionsTests.RetryBudget.cs (2)
141
builder.AddStandardResilienceHandler(o => o.Retry.RetryBudget = new() {
MinimumThroughput
= 0 });
230
options.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)
100
var minimumThroughput = budgetOptions.
MinimumThroughput
;
Microsoft.Extensions.Http.Resilience.Tests (2)
Polly\HttpRetryBudgetOptionsTests.cs (1)
20
options.
MinimumThroughput
.Should().Be(10);
Resilience\HttpClientBuilderExtensionsTests.RetryBudget.cs (1)
96
budget.
MinimumThroughput
.Should().Be(20);