16 references to TotalRequestTimeout
Aspire.EndToEnd.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
476options.TotalRequestTimeout.Timeout = TimeSpan.FromMinutes(10);
Aspire.Playground.Tests (1)
AppHostTests.cs (1)
130resilience.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(120);
Aspire.Workload.Tests (1)
tests\Shared\WorkloadTesting\AspireProject.cs (1)
476options.TotalRequestTimeout.Timeout = TimeSpan.FromMinutes(10);
Microsoft.Extensions.Http.Resilience (3)
Resilience\Internal\Validators\HttpStandardResilienceOptionsCustomValidator.cs (2)
17if (options.AttemptTimeout.Timeout > options.TotalRequestTimeout.Timeout) 20$"Total Request Timeout: {options.TotalRequestTimeout.Timeout.TotalSeconds}s, " +
Resilience\ResilienceHttpClientBuilderExtensions.StandardResilience.cs (1)
84.AddTimeout(options.TotalRequestTimeout)
Microsoft.Extensions.Http.Resilience.Tests (10)
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (1)
188options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(1);
Resilience\HttpStandardResilienceOptionsCustomValidatorTests.cs (7)
26options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(1); 52options.AttemptTimeout.Timeout = options.TotalRequestTimeout.Timeout; 57options.AttemptTimeout.Timeout = options.TotalRequestTimeout.Timeout; 64options.Retry.Delay = options.TotalRequestTimeout.Timeout; 83options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(2); 88options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(2); 92options.AttemptTimeout.Timeout = options.TotalRequestTimeout.Timeout;
Resilience\HttpStandardResilienceOptionsTests.cs (2)
18_options.TotalRequestTimeout.Timeout.Should().Be(TimeSpan.FromSeconds(30)); 20_options.TotalRequestTimeout.Name.Should().Be("Standard-TotalRequestTimeout");