Circuit Breaker implementation for resilient service calls
Constructors
new(config : CircuitBreakerConfig = CircuitBreakerConfig.new)
SourceInstance methods
allow_request?
Check if circuit allows requests
Sourcecall
Execute a block with circuit breaker protection
Sourcereset!
Manually reset the circuit breaker
Sourcetime_until_retry
Get time remaining until circuit retry
Source