mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2025-01-23 14:23:10 +00:00
FedSockets: fix log spam on cached rejects
This commit is contained in:
parent
875b6654ec
commit
26c571df33
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ defmodule Pleroma.Web.FedSockets do
|
||||||
Logger.debug("fedsocket found in cache - #{inspect(address)}")
|
Logger.debug("fedsocket found in cache - #{inspect(address)}")
|
||||||
{:ok, socket}
|
{:ok, socket}
|
||||||
|
|
||||||
|
{:cache, {:error, :rejected} = e} ->
|
||||||
|
e
|
||||||
|
|
||||||
{:connect, {:error, _host}} ->
|
{:connect, {:error, _host}} ->
|
||||||
Logger.debug("set host rejected for - #{inspect(address)}")
|
Logger.debug("set host rejected for - #{inspect(address)}")
|
||||||
FedRegistry.set_host_rejected(address)
|
FedRegistry.set_host_rejected(address)
|
||||||
|
|
Loading…
Add table
Reference in a new issue