struct

Fetcher::CircuitBreakerConfig

Inherits Struct < Value < Object

Constructors

new(enabled : Bool = true, failure_threshold : Int32 = Config::DEFAULT_CIRCUIT_BREAKER_THRESHOLD, recovery_timeout : Time::Span = Config::DEFAULT_CIRCUIT_BREAKER_TIMEOUT)
Source

Instance methods

clone
Source
copy_with(enabled _enabled = @enabled, failure_threshold _failure_threshold = @failure_threshold, recovery_timeout _recovery_timeout = @recovery_timeout)
Source
enabled
failure_threshold
recovery_timeout