lib/sidekiq_alive/redis/base.rb in sidekiq_alive-2.2.3 vs lib/sidekiq_alive/redis/base.rb in sidekiq_alive-2.3.0
- old
+ new
@@ -26,10 +26,10 @@
def delete(key)
raise(NotImplementedError)
end
def ttl(...)
- Sidekiq.redis { |redis| redis.ttl(...) }
+ redis { |r| r.ttl(...) }
end
end
end
end