mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:51:22 +08:00
Revert "Merge branch 'master' of https://github.com/discourse/discourse"
This reverts commit e62a85cf6fd81a2a34aff6144bd36b9ac459964a, reversing changes made to 2660c2e21d84bea667e1ea339f91cda352328062.
This commit is contained in:
@ -266,6 +266,12 @@ class DiscourseRedis
|
||||
end
|
||||
end
|
||||
|
||||
def flushdb
|
||||
DiscourseRedis.ignore_readonly do
|
||||
keys.each { |k| del(k) }
|
||||
end
|
||||
end
|
||||
|
||||
def reconnect
|
||||
@redis._client.reconnect
|
||||
end
|
||||
|
Reference in New Issue
Block a user