Module: RedisClient::CircuitBreaker::Middleware
- Defined in:
- lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/redis-client-0.12.0/lib/redis_client/circuit_breaker.rb
Instance Method Summary collapse
- #call(_command, config) ⇒ Object
- #call_pipelined(_commands, config) ⇒ Object
- #connect(config) ⇒ Object
Instance Method Details
#call(_command, config) ⇒ Object
10 11 12 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/redis-client-0.12.0/lib/redis_client/circuit_breaker.rb', line 10 def call(_command, config) config.circuit_breaker.protect { super } end |
#call_pipelined(_commands, config) ⇒ Object
14 15 16 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/redis-client-0.12.0/lib/redis_client/circuit_breaker.rb', line 14 def call_pipelined(_commands, config) config.circuit_breaker.protect { super } end |
#connect(config) ⇒ Object
6 7 8 |
# File 'lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/redis-client-0.12.0/lib/redis_client/circuit_breaker.rb', line 6 def connect(config) config.circuit_breaker.protect { super } end |