0
0
Fork 0

Fix Rails cache namespace being overriden with v2 for cached statuses (#24202)

This commit is contained in:
Claire 2023-03-22 15:47:44 +01:00 committed by GitHub
parent a7a578a055
commit 2626097869
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -140,6 +140,10 @@ class Status < ApplicationRecord
REAL_TIME_WINDOW = 6.hours
def cache_key
"v2:#{super}"
end
def searchable_by(preloaded = nil)
ids = []