Fix “Scoped order is ignored, it's forced to be batch order.” warnings (#26793)
This commit is contained in:
parent
f80f426c57
commit
cab4cbfa5c
15 changed files with 25 additions and 22 deletions
|
@ -262,7 +262,7 @@ class FeedManager
|
|||
add_to_feed(:home, account.id, status, aggregate_reblogs: aggregate)
|
||||
end
|
||||
|
||||
account.following.includes(:account_stat).find_each do |target_account|
|
||||
account.following.includes(:account_stat).reorder(nil).find_each do |target_account|
|
||||
if redis.zcard(timeline_key) >= limit
|
||||
oldest_home_score = redis.zrange(timeline_key, 0, 0, with_scores: true).first.last.to_i
|
||||
last_status_score = Mastodon::Snowflake.id_at(target_account.last_status_at)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue