Continued:

- just for consistency ...
This commit is contained in:
Roland Häder 2023-01-20 02:43:26 +01:00
parent a0704db43a
commit ba08692403
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77

View file

@ -57,13 +57,13 @@ class UpdateServerPeers
$total = 0;
$added = 0;
foreach ($peers as $peer) {
if (Network::isUrlBlocked('http://' . $peer)) {
if (Network::isUrlBlocked('https://' . $peer)) {
// Ignore blocked systems as soon as possible in the loop to avoid being slowed down by tar pits
continue;
}
++$total;
if (DBA::exists('gserver', ['nurl' => Strings::normaliseLink('http://' . $peer)])) {
if (DBA::exists('gserver', ['nurl' => Strings::normaliseLink('https://' . $peer)])) {
// We already know this server
continue;
}