Skip to content

Commit

Permalink
Merge pull request #685 from psu-libraries/rm-redis-check
Browse files Browse the repository at this point in the history
removes redis check. sidekiq also connects to redis
  • Loading branch information
whereismyjetpack authored Aug 4, 2023
2 parents d095a22 + 415e2bb commit 0ad6169
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 0ad6169

Please sign in to comment.