instance: Do not fetch unreachable instances
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Mon, 7 Dec 2020 19:09:34 +0000 (20:09 +0100)
committerHaelwenn (lanodan) Monnier <contact@hacktivis.me>
Mon, 7 Dec 2020 19:11:47 +0000 (20:11 +0100)
commite1a2e8b17cca0d9f50b72fcea0ec5ffb8e613db1
treef4246be3d6dc480660310e5d1f58e1c764297b9b
parented76323776f2506cfefbe78c369fdb7ccfe3b650
instance: Do not fetch unreachable instances

Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2346
lib/pleroma/instances/instance.ex
test/pleroma/instances/instance_test.exs