forked from AkkomaGang/akkoma
Merge branch 'fix/fedsocket-log-spam' into 'develop'
FedSockets: fix log spam on cached rejects See merge request pleroma/pleroma!3009
This commit is contained in:
commit
91ddd47e51
1 changed files with 3 additions and 0 deletions
|
@ -104,6 +104,9 @@ def get_or_create_fed_socket(address) do
|
|||
Logger.debug("fedsocket found in cache - #{inspect(address)}")
|
||||
{:ok, socket}
|
||||
|
||||
{:cache, {:error, :rejected} = e} ->
|
||||
e
|
||||
|
||||
{:connect, {:error, _host}} ->
|
||||
Logger.debug("set host rejected for - #{inspect(address)}")
|
||||
FedRegistry.set_host_rejected(address)
|
||||
|
|
Loading…
Reference in a new issue