[#534] Various tweaks. Tests for Instances and Instance.
This commit is contained in:
parent
9560abea10
commit
1d2f41642c
15 changed files with 312 additions and 40 deletions
|
|
@ -181,10 +181,6 @@ defmodule Pleroma.Web.Salmon do
|
|||
Logger.debug(fn -> "Pushed to #{url}, code #{code}" end)
|
||||
:ok
|
||||
else
|
||||
{:reachable, false} ->
|
||||
Logger.debug(fn -> "Pushing Salmon to #{url} skipped as marked unreachable)" end)
|
||||
:noop
|
||||
|
||||
e ->
|
||||
Instances.set_unreachable(url)
|
||||
Logger.debug(fn -> "Pushing Salmon to #{url} failed, #{inspect(e)}" end)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue