mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-03 05:48:42 +00:00
Discard Remote Fetcher jobs which errored due to an MRF rejection
This commit is contained in:
parent
ef2ada59e0
commit
b051e68bb0
2 changed files with 4 additions and 0 deletions
1
changelog.d/oban-fetcher-rejected.change
Normal file
1
changelog.d/oban-fetcher-rejected.change
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Discard Remote Fetcher jobs which errored due to an MRF rejection
|
|
@ -13,6 +13,9 @@ defmodule Pleroma.Workers.RemoteFetcherWorker do
|
||||||
{:ok, _object} ->
|
{:ok, _object} ->
|
||||||
:ok
|
:ok
|
||||||
|
|
||||||
|
{:rejected, reason} ->
|
||||||
|
{:discard, reason}
|
||||||
|
|
||||||
{:error, :forbidden} ->
|
{:error, :forbidden} ->
|
||||||
{:discard, :forbidden}
|
{:discard, :forbidden}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue