|
|
|
|
@ -94,7 +94,7 @@ class FanOutOnWriteService < BaseService
|
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
def deliver_to_hashtag_followers! |
|
|
|
|
TagFollow.where(tag_id: @status.tags.map(&:id)).select(:id, :account_id).reorder(nil).find_in_batches do |follows| |
|
|
|
|
TagFollow.for_local_distribution.where(tag_id: @status.tags.map(&:id)).select(:id, :account_id).reorder(nil).find_in_batches do |follows| |
|
|
|
|
FeedInsertWorker.push_bulk(follows) do |follow| |
|
|
|
|
[@status.id, follow.account_id, 'tags', { 'update' => update? }] |
|
|
|
|
end |
|
|
|
|
|