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
|
@ -72,7 +72,7 @@ class MoveWorker
|
|||
def queue_follow_unfollows!
|
||||
bypass_locked = @target_account.local?
|
||||
|
||||
@source_account.followers.local.select(:id).find_in_batches do |accounts|
|
||||
@source_account.followers.local.select(:id).reorder(nil).find_in_batches do |accounts|
|
||||
UnfollowFollowWorker.push_bulk(accounts.map(&:id)) { |follower_id| [follower_id, @source_account.id, @target_account.id, bypass_locked] }
|
||||
rescue => e
|
||||
@deferred_error = e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue