7 references to Configure
Microsoft.Extensions.Http.Resilience.Tests (7)
Hedging\StandardHedgingTests.cs (7)
37
.
Configure
(options =>
47
Builder.
Configure
(options => options.Hedging.MaxHedgedAttempts = -1);
55
Builder.
Configure
(options => options.TotalRequestTimeout.Timeout = TimeSpan.FromSeconds(1));
63
Builder.
Configure
(o => o.Hedging.MaxHedgedAttempts = 8);
248
Builder.Configure(config).
Configure
(options => options.Hedging.Delay = Timeout.InfiniteTimeSpan);
325
.
Configure
(opt =>
348
protected override void ConfigureHedgingOptions(Action<HttpHedgingStrategyOptions> configure) => Builder.
Configure
(options => configure(options.Hedging));