mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Cancel remote fetch jobs for deleted objects
This commit is contained in:
parent
67dd81e825
commit
c6b38441f1
1 changed files with 3 additions and 0 deletions
|
@ -18,6 +18,9 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
|
|||
{:error, reason = "Object fetch has been denied"} ->
|
||||
{:cancel, reason}
|
||||
|
||||
{:error, reason = "Object has been deleted"} ->
|
||||
{:cancel, reason}
|
||||
|
||||
_ ->
|
||||
:error
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue