diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2018-08-21 12:25:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-21 12:25:50 +0200 |
commit | d98de8ada743886c3cd48b2ad942d46b805af7a9 (patch) | |
tree | 9c7551f7b60a7884929e259e85d91f14c6602395 /app/workers/refollow_worker.rb | |
parent | 83746b63646088396232a348f4024b101f39c78a (diff) |
Get rid of all batch order warnings (#8334)
Diffstat (limited to 'app/workers/refollow_worker.rb')
-rw-r--r-- | app/workers/refollow_worker.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/refollow_worker.rb b/app/workers/refollow_worker.rb index 66bcd27c3..12f2bf671 100644 --- a/app/workers/refollow_worker.rb +++ b/app/workers/refollow_worker.rb @@ -9,7 +9,7 @@ class RefollowWorker target_account = Account.find(target_account_id) return unless target_account.protocol == :activitypub - target_account.followers.where(domain: nil).find_each do |follower| + target_account.followers.where(domain: nil).reorder(nil).find_each do |follower| # Locally unfollow remote account follower.unfollow!(target_account) |