]> source.dussan.org Git - nextcloud-server.git/commit
fix(federation): always set server status to OK after successful runs 47429/head
authorPablo Zimdahl <pablo@nextcloud.com>
Thu, 22 Aug 2024 08:22:30 +0000 (10:22 +0200)
committerAndy Scherzinger <info@andy-scherzinger.de>
Thu, 22 Aug 2024 17:01:42 +0000 (19:01 +0200)
commit7492f7c7cb443c46254165e828fab07ef47fc272
tree1712e984c82ebb6235e7b4ac5f67ee98193d7cb2
parent91649f6f39315fd10d70c4dbaef82d45392cc124
fix(federation): always set server status to OK after successful runs

Previously if a server status got set to failure, it stayed that way
until an addressbook-sync found changes. Now the server status is set to
OK after each successful sync check (if that's not the case already),
regardless of addressbook changes.

This change also includes two new logging statements, which could help
next time someone debugs this.

Signed-off-by: Pablo Zimdahl <pablo@nextcloud.com>
apps/federation/lib/BackgroundJob/GetSharedSecret.php
apps/federation/lib/BackgroundJob/RequestSharedSecret.php
apps/federation/lib/SyncFederationAddressBooks.php
apps/federation/tests/SyncFederationAddressbooksTest.php