Don't update status inside a lock, it's just queueing anyway

This commit is contained in:
Vyr Cossont 2022-12-18 16:34:07 -08:00
parent 87b5f7f485
commit ac891d9dce

View file

@ -50,10 +50,10 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
reset_preview_card!
broadcast_updates!
StatusesIndex.import! @status
end
StatusesIndex.import! @status
forward_activity! if significant_changes? && @status_parser.edited_at > last_edit_date
end