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

DEV: Upgrade Redis to 4.2.1.

This commit is contained in:
Guo Xiang Tan 2020-06-15 09:57:44 +08:00
parent 1303e89a72
commit 0ff86b00cb
No known key found for this signature in database
GPG key ID: FBD110179AAC1F20
7 changed files with 12 additions and 40 deletions

View file

@ -487,7 +487,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?