Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Jun 26, 2023
1 parent 531f882 commit 2fec0a9
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@
namespace Microsoft.Extensions.Http.Resilience;

/// <summary>
/// Options for the pipeline of resilience strategies assigned to a particular endpoint. It is using three chained layers in this order (from the outermost to the innermost):
/// Bulkhead -> Circuit Breaker -> Attempt Timeout.
/// Options for the pipeline of resilience strategies assigned to a particular endpoint.
/// </summary>
/// <remarks>
/// It is using three chained layers in this order (from the outermost to the innermost): Bulkhead -> Circuit Breaker -> Attempt Timeout.
/// </remarks>
public class HedgingEndpointOptions
{
private static readonly TimeSpan _timeoutInterval = TimeSpan.FromSeconds(10);

/// <summary>
/// Gets or sets the bulkhead options for the endpoint.
/// </summary>
Expand Down Expand Up @@ -54,7 +54,7 @@ public class HedgingEndpointOptions
[ValidateObjectMembers]
public HttpTimeoutStrategyOptions TimeoutOptions { get; set; } = new()
{
Timeout = _timeoutInterval,
Timeout = TimeSpan.FromSeconds(10),
StrategyName = StandardHedgingStrategyNames.AttemptTimeout
};
}

0 comments on commit 2fec0a9

Please sign in to comment.