2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-09 12:21:04 +08:00

Revert "Bump redis to 4.2.0."

This reverts commit 98bc28cea2.
This commit is contained in:
Guo Xiang Tan 2020-06-10 14:52:05 +08:00
parent 98bc28cea2
commit a3dfd553a1
No known key found for this signature in database
GPG key ID: FBD110179AAC1F20
6 changed files with 43 additions and 5 deletions

View file

@ -489,7 +489,7 @@ module Discourse
end
def self.readonly_mode?(keys = READONLY_KEYS)
recently_readonly? || Discourse.redis.exists?(*keys)
recently_readonly? || Discourse.redis.exists(*keys)
end
def self.pg_readonly_mode?