From b85cb117b4ec286a1eed845a2096d5346bca2b3e Mon Sep 17 00:00:00 2001 From: gsd Date: Mon, 6 Apr 2026 12:34:07 +0300 Subject: [PATCH] cpu leak fix --- tradebot.js | 1 + 1 file changed, 1 insertion(+) diff --git a/tradebot.js b/tradebot.js index 8212b7d..5a6166c 100644 --- a/tradebot.js +++ b/tradebot.js @@ -31,6 +31,7 @@ async function sync(timeout) { console.log(consoleTime(), "Setup Steam Client...") steam_client = setupClient(); } + await sleep(timeout * 60000); } else { console.log(consoleTime(), `wait ${timeout} seconds after destroy, where pulse failed`); await sleep(timeout * 1000);