undo commit

This commit is contained in:
daniel31x13
2024-11-03 03:25:01 -05:00
parent aeafe6e15d
commit 9103f67db5
176 changed files with 9406 additions and 2367 deletions
+2 -2
View File
@@ -142,13 +142,13 @@ function delay(sec: number) {
}
async function init() {
console.log("\x1b[34m%s\x1b[0m", "Starting the link processing task");
console.log("\x1b[34m%s\x1b[0m", "Processing the links...");
while (true) {
try {
await processBatch();
await delay(intervalInSeconds);
} catch (error) {
console.error("\x1b[34m%s\x1b[0m", "Error processing links:", error);
console.error("\x1b[34m%s\x1b[0m", "Error processing link:", error);
await delay(intervalInSeconds);
}
}