From 23358db0b0b31c48e99aafe53802f66282133f2c Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Fri, 19 May 2023 19:19:32 -0600 Subject: [PATCH] MORE TIMING GO BRRT --- index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 2cd9aaf..414a318 100644 --- a/index.js +++ b/index.js @@ -196,13 +196,13 @@ function updateStatus(addr, port, msg) { setTimeout(() => { console.log(`${colors.magenta(`[DEBUG ${new Date()}]`)} Updating ${addr}:${port}`); updateStatus(addr, port, msg); - }, 10000) + }, 5000) }).catch((err) => { console.log(`${colors.red("[ERROR]")} ${err}`); setTimeout(() => { console.log(`${colors.magenta(`[DEBUG ${new Date()}]`)} Updating ${addr}:${port}`); updateStatus(addr, port, msg); - }, 10000) + }, 5000) }); } else { console.log(`${colors.magenta(`[DEBUG ${new Date()}]`)} ${addr}:${port} is offline.`); @@ -250,13 +250,13 @@ function updateStatus(addr, port, msg) { setTimeout(() => { console.log(`${colors.magenta(`[DEBUG ${new Date()}]`)} Updating ${addr}:${port}`); updateStatus(addr, port, msg); - }, 10000) + }, 5000) }).catch((err) => { console.log(`${colors.red("[ERROR]")} ${err}`); setTimeout(() => { console.log(`${colors.magenta(`[DEBUG ${new Date()}]`)} Updating ${addr}:${port}`); updateStatus(addr, port, msg); - }, 10000) + }, 5000) }); } })