Remove caching in cache_collection (#29862)

This commit is contained in:
Claire 2024-04-08 15:46:13 +02:00
parent 86807e4799
commit c3be5a3d2e
8 changed files with 14 additions and 93 deletions

View file

@ -28,7 +28,7 @@ class Feed
unhydrated = redis.zrangebyscore(key, "(#{min_id}", "(#{max_id}", limit: [0, limit], with_scores: true).map(&:first).map(&:to_i)
end
Status.where(id: unhydrated).cache_ids
Status.where(id: unhydrated)
end
def key