16 references to TotalRequestTimeout
Microsoft.Extensions.Http.Resilience (5)
Hedging\Internals\Validators\HttpStandardHedgingResilienceOptionsCustomValidator.cs (4)
17
if (options.Endpoint.Timeout.Timeout > options.
TotalRequestTimeout
.Timeout)
20
$"Total Request Timeout: {options.
TotalRequestTimeout
.Timeout.TotalSeconds}s, " +
39
if (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)
20
options.
TotalRequestTimeout
.Timeout = TimeSpan.FromSeconds(1);
46
options.Endpoint.Timeout.Timeout = options.
TotalRequestTimeout
.Timeout;
51
options.Endpoint.Timeout.Timeout = options.
TotalRequestTimeout
.Timeout;
58
options.Hedging.Delay = options.
TotalRequestTimeout
.Timeout;
82
options.
TotalRequestTimeout
.Timeout = TimeSpan.FromSeconds(2);
87
options.
TotalRequestTimeout
.Timeout = TimeSpan.FromSeconds(2);
91
options.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)
55
Builder.Configure(options => options.
TotalRequestTimeout
.Timeout = TimeSpan.FromSeconds(1));
331
opt.
TotalRequestTimeout
.Timeout = TimeSpan.FromSeconds(200);