Part-of: <https://dev.funkwhale.audio/funkwhale/funkwhale/-/merge_requests/2551>
environments/review-docs-renov-dx7eod/deployments/18277
codl 2023-07-27 04:32:33 +02:00 zatwierdzone przez Marge
rodzic 0e51f73298
commit 2e2e0b74ba
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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()

Wyświetl plik

@ -0,0 +1 @@
Fix instance checking its own availability (#2199)