remove debug console.log

This commit is contained in:
Matthew Sevey 2022-04-27 16:23:46 -04:00
parent f94cf74dd1
commit aa92d10687
No known key found for this signature in database
GPG Key ID: 9ADDD344F13057F6
1 changed files with 0 additions and 2 deletions

View File

@ -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);
} }