16 references to TotalRequestTimeout
Microsoft.Extensions.Http.Resilience (5)
Hedging\Internals\Validators\HttpStandardHedgingResilienceOptionsCustomValidator.cs (4)
17if (options.Endpoint.Timeout.Timeout > options.TotalRequestTimeout.Timeout) 20$"Total Request Timeout: {options.TotalRequestTimeout.Timeout.TotalSeconds}s, " + 39if (maxHedgingDelay > options.TotalRequestTimeout.Timeout) 42$"Total Request Timeout: {options.TotalRequestTimeout.Timeout.TotalSeconds}s, " +
Hedging\ResilienceHttpClientBuilderExtensions.Hedging.cs (1)
124.AddTimeout(options.TotalRequestTimeout)
Microsoft.Extensions.Http.Resilience.Tests (11)
Hedging\HttpStandardHedgingResilienceOptionsCustomValidatorTests.cs (7)
20options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(1); 46options.Endpoint.Timeout.Timeout = options.TotalRequestTimeout.Timeout; 51options.Endpoint.Timeout.Timeout = options.TotalRequestTimeout.Timeout; 58options.Hedging.Delay = options.TotalRequestTimeout.Timeout; 82options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(2); 87options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(2); 91options.Endpoint.Timeout.Timeout = options.TotalRequestTimeout.Timeout;
Hedging\HttpStandardHedgingResilienceOptionsTests.cs (2)
22_options.TotalRequestTimeout.Timeout.Should().Be(TimeSpan.FromSeconds(30)); 25_options.TotalRequestTimeout.Name.Should().Be("StandardHedging-TotalRequestTimeout");
Hedging\StandardHedgingTests.cs (2)
55Builder.Configure(options => options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(1)); 331opt.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(200);