about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-12-30 19:00:04 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-12-30 19:00:04 +0100
commit6fb6a539389d82caf1a55ea517919977d8ee6e88 (patch)
tree2447579ddb476b63c68d95ca5b0d51b2093376d1 /app/services
parentb2f4114550d8cc3af929736c122d69b6e76fcea8 (diff)
Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/post_status_service.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/services/post_status_service.rb b/app/services/post_status_service.rb
index d0c4fe146..eff1b1461 100644
--- a/app/services/post_status_service.rb
+++ b/app/services/post_status_service.rb
@@ -44,7 +44,6 @@ class PostStatusService < BaseService
     DistributionWorker.perform_async(status.id)
     Pubsubhubbub::DistributionWorker.perform_async(status.stream_entry.id)
     ActivityPub::DistributionWorker.perform_async(status.id)
-    ActivityPub::ReplyDistributionWorker.perform_async(status.id) if status.reply? && status.thread.account.local?
 
     if options[:idempotency].present?
       redis.setex("idempotency:status:#{account.id}:#{options[:idempotency]}", 3_600, status.id)