lib/sidekiq_alive/redis/base.rb in sidekiq_alive-2.2.1 vs lib/sidekiq_alive/redis/base.rb in sidekiq_alive-2.2.2

- old
+ new

@@ -14,16 +14,10 @@ def delete(key) raise(NotImplementedError) end def ttl(...) - redis.ttl(...) - end - - private - - def redis - Sidekiq.redis { |r| r } + Sidekiq.redis { |redis| redis.ttl(...) } end end end end