DEV: Remove override of `flushdb` in `DiscourseRedis`.
This commit is contained in:
parent
96c02caba7
commit
05beaa7f45
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue