class Freno::Throttler::CircuitBreaker::Noop

The Noop circuit breaker is the `:circuit_breaker` used by default in the Throttler

It always allows requests, and does nothing when given `success` or `failure` messages. For that reason it doesn't provide any resiliency guarantee.

See github.com/jnunemaker/resilient for a real ruby implementation of the CircuitBreaker pattern.

Public Class Methods

allow_request?() click to toggle source
# File lib/freno/throttler/circuit_breaker.rb, line 29
def self.allow_request?
  true
end
failure() click to toggle source
# File lib/freno/throttler/circuit_breaker.rb, line 35
def self.failure; end
success() click to toggle source
# File lib/freno/throttler/circuit_breaker.rb, line 33
def self.success; end