From 415e2bb59f7edc9d738f0c9a5abffbffff551110 Mon Sep 17 00:00:00 2001 From: whereismyjetpack Date: Fri, 4 Aug 2023 12:02:13 -0400 Subject: [PATCH] removes redis check. sidekiq also connects to redis --- config/initializers/okcomputer.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/config/initializers/okcomputer.rb b/config/initializers/okcomputer.rb index d03f8e3fa..da219f1a0 100644 --- a/config/initializers/okcomputer.rb +++ b/config/initializers/okcomputer.rb @@ -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) \ No newline at end of file