mirror of
https://github.com/discourse/discourse.git
synced 2024-11-22 11:44:49 +08:00
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
Block a user