Skip to content

Commit

Permalink
PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
martintmk committed Jun 16, 2023
1 parent ef71c62 commit 2f7fe4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions samples/Extensibility/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ protected override ValueTask<Outcome<TResult>> ExecuteCoreAsync<TResult, TState>
Console.WriteLine("context.ResultType: {0}", context.ResultType);
Console.WriteLine("context.IsVoid: {0}", context.IsVoid);

// The "state" is ambient value passed by the caller that holds his state.
// The "state" is an ambient value passed by the caller that holds the state.
// Here, we do not do anything with it, just pass it to the callback.

// Execute the provided callback
Expand Down Expand Up @@ -75,7 +75,7 @@ public class MyResilienceStrategyOptions : ResilienceStrategyOptions
// 2. Create a custom resilience strategy that derives from ResilienceStrategy
// ------------------------------------------------------------------------

// The strategy should be internal and not exposed as part of public API. Instead, expose options and extensions for resilience strategy builder.
// The strategy should be internal and not exposed as part of any public API. Instead, expose options and extensions for resilience strategy builder.
internal class MyResilienceStrategy : ResilienceStrategy
{
private readonly ResilienceStrategyTelemetry telemetry;
Expand Down
2 changes: 1 addition & 1 deletion samples/Retries/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
BaseDelay = TimeSpan.FromSeconds(1),

// The recommended backoff type for HTTP scenarios
// https://www.baeldung.com/resilience4j-backoff-jitter
// See here for more information: https://github.com/App-vNext/Polly/wiki/Retry-with-jitter#more-complex-jitter
BackoffType = RetryBackoffType.ExponentialWithJitter
})
.Build();
Expand Down

0 comments on commit 2f7fe4a

Please sign in to comment.