Polly is a .NET resilience and transient-fault-handling library that allows developers to express policies such as Retry, Circuit Breaker, Timeout, Bulkhead Isolation, and Fallback in a fluent and thread-safe manner. From version 6.0.1, Polly targets .NET Standard 1.1 and 2.0+.
dotnet
overload
delegate
fault-handler
circuit-breaker
poly
resilience
circuit-breaker-pattern
retry-strategies
resiliency-patterns
transient-fault-handling
-
Updated
Jun 11, 2021 - C#
Since we're able to configure the
Timekeeper
for aCircuit
, it would be helpful if the library also allowed mocking theTimeAfterFunc
of thereopenCircuitCheck
field. https://github.com/cep21/circuit/blob/700836dc9a95756136ce20df20ae5d3f3d8b59fd/v3/closers/hystrix/closer.go#L13-L23https://github.com/cep21/circuit/blob/700836dc9a95756136ce20df20ae5d3f3d8b59fd/v3/faststats/timedcheck.go#