Merge branch 'oban/fetcher-discard-rejected' into 'develop'

Discard Remote Fetcher jobs which errored due to an MRF rejection

See merge request pleroma/pleroma!4174
This commit is contained in:
feld 2024-07-12 14:56:55 +00:00
commit 3754713599
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1 @@
Discard Remote Fetcher jobs which errored due to an MRF rejection

View File

@ -13,6 +13,9 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
{:ok, _object} ->
:ok
{:rejected, reason} ->
{:discard, reason}
{:error, :forbidden} ->
{:discard, :forbidden}