Daemon/Externals: Shorten endless loop

If the query towards the hubloc table don't return any entries, the loop
would continue without modifying any of the variables that could
possibly make the loop end.
This commit is contained in:
Harald Eilertsen
2026-03-17 21:42:28 +01:00
parent 3dd9559d9f
commit 9d33456c89

View File

@@ -74,6 +74,8 @@ class Externals {
}
}
$attempts++;
if (!$url) {
continue;
}
@@ -85,7 +87,6 @@ class Externals {
$blacklisted = true;
}
$attempts++;
// make sure we can eventually break out if somebody blacklists all known sites