Fix obsolete cache key in status cache invalidation logic (#26934)
This commit is contained in:
+1
-1
@@ -108,7 +108,7 @@ class Poll < ApplicationRecord
|
||||
def reset_parent_cache
|
||||
return if status_id.nil?
|
||||
|
||||
Rails.cache.delete("statuses/#{status_id}")
|
||||
Rails.cache.delete("v3:statuses/#{status_id}")
|
||||
end
|
||||
|
||||
def last_fetched_before_expiration?
|
||||
|
||||
Reference in New Issue
Block a user