Move bufferized tags to RedisCache (#4817)
This commit is contained in:
parent
672d64c2ca
commit
fbbb02e241
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ class Tag < ActsAsTaggableOn::Tag
|
|||
end
|
||||
|
||||
def self.bufferized_tags
|
||||
Rails.cache.fetch("bufferized_tags_cache", expires_in: 2.hours) do
|
||||
RedisRailsCache.fetch("bufferized_tags_cache", expires_in: 2.hours) do
|
||||
where.not(buffer_profile_id_code: nil).pluck(:name)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue