Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
This commit is contained in:
parent
e9ea960773
commit
6d23d40420
14 changed files with 38 additions and 33 deletions
|
@ -169,7 +169,7 @@ class FeedManager
|
|||
private
|
||||
|
||||
def push_update_required?(timeline_id)
|
||||
redis.exists("subscribed:#{timeline_id}")
|
||||
redis.exists?("subscribed:#{timeline_id}")
|
||||
end
|
||||
|
||||
def blocks_or_mutes?(receiver_id, account_ids, context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue