Do not retry fetching deleted objects
This commit is contained in:
parent
4039106500
commit
82724f6664
@ -51,6 +51,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
||||
{:error, {:error, {:validate, reason}}} -> {:cancel, reason}
|
||||
{:error, {:reject, reason}} -> {:cancel, reason}
|
||||
{:signature, false} -> {:error, :invalid_signature}
|
||||
{:error, {:error, reason = "Object has been deleted"}} -> {:cancel, reason}
|
||||
e -> e
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user