mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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