Skip to content
Snippets Groups Projects
Commit 6cf5716e authored by Eugen Rochko's avatar Eugen Rochko
Browse files

Skip deliveries to inboxes that have already been marked as unavailable (#9358)

parent 4cc9ada9
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,8 @@ class ActivityPub::DeliveryWorker
HEADERS = { 'Content-Type' => 'application/activity+json' }.freeze
def perform(json, source_account_id, inbox_url, options = {})
return if DeliveryFailureTracker.unavailable?(inbox_url)
@options = options.with_indifferent_access
@json = json
@source_account = Account.find(source_account_id)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment