mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-09 08:45:26 +00:00
Do not retry fetching deleted objects
This commit is contained in:
parent
4039106500
commit
82724f6664
1 changed files with 1 additions and 0 deletions
|
@ -51,6 +51,7 @@ defmodule Pleroma.Workers.ReceiverWorker do
|
||||||
{:error, {:error, {:validate, reason}}} -> {:cancel, reason}
|
{:error, {:error, {:validate, reason}}} -> {:cancel, reason}
|
||||||
{:error, {:reject, reason}} -> {:cancel, reason}
|
{:error, {:reject, reason}} -> {:cancel, reason}
|
||||||
{:signature, false} -> {:error, :invalid_signature}
|
{:signature, false} -> {:error, :invalid_signature}
|
||||||
|
{:error, {:error, reason = "Object has been deleted"}} -> {:cancel, reason}
|
||||||
e -> e
|
e -> e
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue