Fetcher::CircuitBreakerConfig
Constructors
new(enabled : Bool = true, failure_threshold : Int32 = Config::DEFAULT_CIRCUIT_BREAKER_THRESHOLD, recovery_timeout : Time::Span = Config::DEFAULT_CIRCUIT_BREAKER_TIMEOUT)
SourceInstance methods
clone
Sourcecopy_with(enabled _enabled = @enabled, failure_threshold _failure_threshold = @failure_threshold, recovery_timeout _recovery_timeout = @recovery_timeout)
Sourceenabled
failure_threshold
recovery_timeout