]> source.dussan.org Git - nextcloud-server.git/commit
fix(federation): always set server status to OK after successful runs 47428/head
authorPablo Zimdahl <pablo@nextcloud.com>
Thu, 22 Aug 2024 08:22:30 +0000 (10:22 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Thu, 22 Aug 2024 15:04:59 +0000 (15:04 +0000)
commit04f313d1d6fa8b3bbb6c3333e6d7475309466819
tree90b759e58cf699f281eca00866da6f9fe4504849
parentbb67798804a8ea3a63dd72464cd7002587410ce3
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