Skip to content

Commit

Permalink
removes redis check. sidekiq also connects to redis
Browse files Browse the repository at this point in the history
  • Loading branch information
whereismyjetpack committed Aug 4, 2023
1 parent d095a22 commit 415e2bb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions config/initializers/okcomputer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,3 @@ def size
threshold = sidekiq_config['size_threshold'] || 100
OkComputer::Registry.register "sidekiq_size_#{q}", SidekiqQueueCheck.new(q, threshold=threshold)
end

## Redis Checks

redis_config = Rails.application.config_for(:redis)

OkComputer::Registry.register "redis", OkComputer::RedisCheck.new(redis_config)

0 comments on commit 415e2bb

Please sign in to comment.