Skip to content
Snippets Groups Projects
Commit 0958b328 authored by codl's avatar codl
Browse files

fix #2199

parent 506fe7c7
No related branches found
No related tags found
No related merge requests found
Pipeline #31853 failed with stages
in 25 minutes and 5 seconds
......@@ -632,7 +632,7 @@ def fetch_collection(url, max_pages, channel, is_page=False):
def check_all_remote_instance_availability():
domains = models.Domain.objects.all().prefetch_related()
for domain in domains:
if domain == settings.FUNKWHALE_HOSTNAME:
if domain.name == settings.FUNKWHALE_HOSTNAME:
# No need to check the instance itself: Its always reachable
domain.reachable = True
domain.last_successful_contact = timezone.now()
......
Fix instance checking its own availability (#2199)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment