Merge tag 'v4.2.0-rc1'

This commit is contained in:
bgme 2023-09-15 02:23:32 +08:00
commit f64f787fc2
392 changed files with 8491 additions and 2190 deletions

View file

@ -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