Fix Rails cache namespace being overriden with v2
for cached statuses (#24202)
This commit is contained in:
@ -140,6 +140,10 @@ class Status < ApplicationRecord
|
||||
|
||||
REAL_TIME_WINDOW = 6.hours
|
||||
|
||||
def cache_key
|
||||
"v2:#{super}"
|
||||
end
|
||||
|
||||
def searchable_by(preloaded = nil)
|
||||
ids = []
|
||||
|
||||
|
Reference in New Issue
Block a user