Share via


DaprComponentResiliencyPolicyCircuitBreakerPolicyConfiguration interface

Dapr Component Resiliency Policy Circuit Breaker Policy Configuration.

Properties

consecutiveErrors

The number of consecutive errors before the circuit is opened.

intervalInSeconds

The optional interval in seconds after which the error count resets to 0. An interval of 0 will never reset. If not specified, the timeoutInSeconds value will be used.

timeoutInSeconds

The interval in seconds until a retry attempt is made after the circuit is opened.

Property Details

consecutiveErrors

The number of consecutive errors before the circuit is opened.

consecutiveErrors?: number

Property Value

number

intervalInSeconds

The optional interval in seconds after which the error count resets to 0. An interval of 0 will never reset. If not specified, the timeoutInSeconds value will be used.

intervalInSeconds?: number

Property Value

number

timeoutInSeconds

The interval in seconds until a retry attempt is made after the circuit is opened.

timeoutInSeconds?: number

Property Value

number