Skip to content

Reusable Retry Logic for transient fault handling with exponential backoff and stochastic exponential backoff.

License

Notifications You must be signed in to change notification settings

BrainSlugs83/BetterBackoff

Repository files navigation

Reusable Retry Logic for transient fault handling with exponential backoff and stochastic exponential backoff. Example usage:

new Retrier().WithMaximumRetryCount(5)
    .WithInitialRetryDelay(TimeSpan.FromSeconds(3))
    .WithStochasticExponentialBackOff()
    .Execute
    (
        () =>
        {
            // stuff that fails sometimes. 😅
        }
    );

About

Reusable Retry Logic for transient fault handling with exponential backoff and stochastic exponential backoff.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages