remove debug console.log
This commit is contained in:
parent
f94cf74dd1
commit
aa92d10687
|
@ -173,7 +173,6 @@ async function skylinkHealthCheck(skylink, numRetries = 30, authCookie, isLarge
|
||||||
// Semi-smart sleep before retrying. Sleep longer if the redundancy is
|
// Semi-smart sleep before retrying. Sleep longer if the redundancy is
|
||||||
// lower.
|
// lower.
|
||||||
let sleepTime = defaultBaseSectorRedundancy - healthData.basesectorredundancy;
|
let sleepTime = defaultBaseSectorRedundancy - healthData.basesectorredundancy;
|
||||||
console.log(`sleeping ${sleepTime}s for basesectorredundancy ${healthData.basesectorredundancy}`);
|
|
||||||
await sleep(sleepTime);
|
await sleep(sleepTime);
|
||||||
return skylinkHealthCheck(skylink, numRetries - 1, authCookie, isLarge);
|
return skylinkHealthCheck(skylink, numRetries - 1, authCookie, isLarge);
|
||||||
}
|
}
|
||||||
|
@ -183,7 +182,6 @@ async function skylinkHealthCheck(skylink, numRetries = 30, authCookie, isLarge
|
||||||
// Semi-smart sleep before retrying. Sleep longer if the redundancy is
|
// Semi-smart sleep before retrying. Sleep longer if the redundancy is
|
||||||
// lower.
|
// lower.
|
||||||
let sleepTime = (defaultFanoutRedundancy - healthData.fanoutredundancy) * 10;
|
let sleepTime = (defaultFanoutRedundancy - healthData.fanoutredundancy) * 10;
|
||||||
console.log(`sleeping ${sleepTime}s for fanout redundancy ${healthData.fanoutredundancy}`);
|
|
||||||
await sleep(sleepTime);
|
await sleep(sleepTime);
|
||||||
return skylinkHealthCheck(skylink, numRetries - 1, authCookie, isLarge);
|
return skylinkHealthCheck(skylink, numRetries - 1, authCookie, isLarge);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue