logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 82724f6664c05e746eb241fb60aefd9a931b372d
parent 4039106500ed0adba3ac6dbd480954aa76ce6bc3
Author: Mark Felder <feld@feld.me>
Date:   Sat,  9 Dec 2023 17:43:54 -0500

Do not retry fetching deleted objects

Diffstat:

Mlib/pleroma/workers/receiver_worker.ex1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/lib/pleroma/workers/receiver_worker.ex b/lib/pleroma/workers/receiver_worker.ex @@ -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