diff --git a/lib/discourse_redis.rb b/lib/discourse_redis.rb index ff946cacfb5..6b630b7b34d 100644 --- a/lib/discourse_redis.rb +++ b/lib/discourse_redis.rb @@ -266,12 +266,6 @@ class DiscourseRedis end end - def flushdb - DiscourseRedis.ignore_readonly do - keys.each { |k| del(k) } - end - end - def reconnect @redis._client.reconnect end