Remove remote DistributionWorkers on new status, repost
• Remove: - remote DistributionWorkers on new status, repost
This commit is contained in:
parent
3bc4445747
commit
da49e93656
|
@ -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
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue