Fix getting stuck

This commit is contained in:
Marco van Dijk 2023-11-15 00:33:40 +01:00
parent 03559c49f4
commit bb6083962d

View File

@ -209,6 +209,7 @@ async function getIP(hostname) {
const testOrchestrator = async function (id, target) {
if (!id.length || !target.length) {
currentPending--;
return;
}
const origTarget = new URL(target);
@ -245,6 +246,7 @@ const testOrchestrator = async function (id, target) {
discoveryResults.err == "insufficient sender reserve"
) {
console.log("Ignoring " + id + " due to insufficient sender reserve");
currentPending--;
return;
}
// Cache results