DEV: Remove override of flushdb in DiscourseRedis.

This commit is contained in:
Guo Xiang Tan 2020-05-19 10:26:23 +08:00
parent 96c02caba7
commit 05beaa7f45
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20

View File

@ -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