Class: RoundhouseUi::RedisController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- RoundhouseUi::RedisController
- Defined in:
- app/controllers/roundhouse_ui/redis_controller.rb
Overview
Redis health from INFO — the "is Redis about to silently drop my jobs?" view that Sidekiq Web doesn't have. The headline signal: an eviction policy other than noeviction (with a memory cap) means Sidekiq data can be evicted.
Constant Summary
Constants inherited from ApplicationController
ApplicationController::AUDIT_VERBS
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#show ⇒ Object
6 7 8 |
# File 'app/controllers/roundhouse_ui/redis_controller.rb', line 6 def show @info = parse_info(Sidekiq.redis { |conn| conn.call("INFO") }) end |