From da49e93656c0b2b40e108df857887b7dc7f9751e Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Wed, 27 May 2020 16:57:44 -0400 Subject: [PATCH] Remove remote DistributionWorkers on new status, repost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Remove: - remote DistributionWorkers on new status, repost --- app/services/post_status_service.rb | 4 ++-- app/services/reblog_service.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb index 4cfc8ecb..6fc3a663 100644 --- a/app/services/post_status_service.rb +++ b/app/services/post_status_service.rb @@ -95,8 +95,8 @@ class PostStatusService < BaseService def postprocess_status! LinkCrawlWorker.perform_async(@status.id) unless @status.spoiler_text? DistributionWorker.perform_async(@status.id) - Pubsubhubbub::DistributionWorker.perform_async(@status.stream_entry.id) - ActivityPub::DistributionWorker.perform_async(@status.id) + # Pubsubhubbub::DistributionWorker.perform_async(@status.stream_entry.id) + # ActivityPub::DistributionWorker.perform_async(@status.id) PollExpirationNotifyWorker.perform_at(@status.poll.expires_at, @status.poll.id) if @status.poll end diff --git a/app/services/reblog_service.rb b/app/services/reblog_service.rb index 480e85cd..0c1ef526 100644 --- a/app/services/reblog_service.rb +++ b/app/services/reblog_service.rb @@ -24,8 +24,8 @@ class ReblogService < BaseService reblog = account.statuses.create!(reblog: reblogged_status, text: text, visibility: visibility) DistributionWorker.perform_async(reblog.id) - Pubsubhubbub::DistributionWorker.perform_async(reblog.stream_entry.id) - ActivityPub::DistributionWorker.perform_async(reblog.id) + # Pubsubhubbub::DistributionWorker.perform_async(reblog.stream_entry.id) + # ActivityPub::DistributionWorker.perform_async(reblog.id) create_notification(reblog) bump_potential_friendship(account, reblog)