Skip to content
Snippets Groups Projects
Unverified Commit 04c8d825 authored by Takeshi Umeda's avatar Takeshi Umeda Committed by GitHub
Browse files

Fix DeliveryWorker not to call failure_tracker when inbox_url is unavailable (#13482)

parent ea200a17
No related branches found
No related tags found
No related merge requests found
......@@ -23,10 +23,12 @@ class ActivityPub::DeliveryWorker
perform_request
ensure
if @performed
failure_tracker.track_success!
else
failure_tracker.track_failure!
if @inbox_url.present?
if @performed
failure_tracker.track_success!
else
failure_tracker.track_failure!
end
end
end
......
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