From 30164dc55cbbb50641cc2a9c3b8f9b85a7af0e98 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Sat, 31 Aug 2024 14:22:52 -0400 Subject: [PATCH] less logs --- backend/sys_stats.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/sys_stats.js b/backend/sys_stats.js index 7330bcd..d2347ef 100644 --- a/backend/sys_stats.js +++ b/backend/sys_stats.js @@ -15,9 +15,8 @@ async function updateActiveSystems() { // Go through all of the Systems let siteTotal = 0; let activeSystems = 0; - console.log(callTotals); + for await (let item of System.find()) { - console.log("Checking: " + item.shortName); // go through all the systems // if you have received some calls during that last period, make the system active if ((callTotals[item.shortName] != undefined) && (callTotals[item.shortName] > 0)) {