mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-17 07:43:17 +00:00
After 7 days of repeated delivery failures, give up on inbox (#5131)
- A successful delivery cancels it out - An incoming delivery from account of the inbox cancels it out
This commit is contained in:
parent
5b45c1646a
commit
f4ca116ea8
5 changed files with 137 additions and 1 deletions
|
|
@ -32,6 +32,7 @@ class ActivityPub::InboxesController < Api::BaseController
|
|||
end
|
||||
|
||||
Pubsubhubbub::UnsubscribeWorker.perform_async(signed_request_account.id) if signed_request_account.subscribed?
|
||||
DeliveryFailureTracker.track_inverse_success!(signed_request_account)
|
||||
end
|
||||
|
||||
def process_payload
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue