-
|
We've been using Looks like this method has been removed in sidekiq-pro 7.0 so I am wondering if there is an alternative or a better way to verify the redis connection? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
You can take the previous implementation and stash it somewhere as a utility method in your app code. I didn't want to provide a global API for it anymore. Or with redis_client, it's as simple as: require "redis_client"
RedisClient.new.call("INFO").split.select {|line| line =~ /^redis_version/ } |
Beta Was this translation helpful? Give feedback.
-
|
I ended up using |
Beta Was this translation helpful? Give feedback.
I ended up using
Sidekiq.redis(&:info)as used by health-monitor-rails