Don't update status inside a lock, it's just queueing anyway
This commit is contained in:
parent
87b5f7f485
commit
ac891d9dce
1 changed files with 2 additions and 2 deletions
|
@ -50,10 +50,10 @@ class ActivityPub::ProcessStatusUpdateService < BaseService
|
||||||
|
|
||||||
reset_preview_card!
|
reset_preview_card!
|
||||||
broadcast_updates!
|
broadcast_updates!
|
||||||
|
|
||||||
StatusesIndex.import! @status
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
StatusesIndex.import! @status
|
||||||
|
|
||||||
forward_activity! if significant_changes? && @status_parser.edited_at > last_edit_date
|
forward_activity! if significant_changes? && @status_parser.edited_at > last_edit_date
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue