Property CircuitBreakerThreshold
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
CircuitBreakerThreshold
Gets or sets the number of consecutive failures on a single bucket before the circuit breaker opens. When open, new requests to that bucket are immediately failed without sending HTTP requests.
public int CircuitBreakerThreshold { get; set; }
Property Value
Remarks
Must be non-negative. Set to 0 to disable the circuit breaker. Defaults to 10.
The circuit breaker resets after CircuitBreakerResetTimeout with no new failures.