Prevent requeuing Remote Fetcher jobs that exceed thread depth
This commit is contained in:
parent
a2708f7fe3
commit
ad0a5deb67
5 changed files with 21 additions and 4 deletions
|
|
@ -74,7 +74,7 @@ defmodule Pleroma.Object.Fetcher do
|
|||
else
|
||||
{:allowed_depth, false} = e ->
|
||||
log_fetch_error(id, e)
|
||||
{:error, "Max thread distance exceeded."}
|
||||
{:error, :allowed_depth}
|
||||
|
||||
{:containment, reason} = e ->
|
||||
log_fetch_error(id, e)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue