Sha256: eeb8ac3283be3d782c3fdbe0e5c7539ae72a5c6de5c69a56269bcc5f36dd8908

Contents?: true

Size: 307 Bytes

Versions: 1

Compression:

Stored size: 307 Bytes

Contents

Workarea.configure do |config|
  config.circuit_breaker = ActiveSupport::Configurable::Configuration.new

  config.circuit_breaker.circuits ||= {}
  config.circuit_breaker.redis ||= {}
  config.circuit_breaker.circuit_defaults ||= {
    max_fails: 3,
    window: 5.minutes,
    break_for: 5.minutes
  }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
workarea-circuit_breaker-1.0.3 config/initializers/workarea.rb