diff --git a/backend/controllers/systems.js b/backend/controllers/systems.js index a3fa228..236a24c 100644 --- a/backend/controllers/systems.js +++ b/backend/controllers/systems.js @@ -147,6 +147,7 @@ async function load_systems(systemClients) { exports.get_systems = async function (req, res) { if ((systemList.length == 0) || (systemListTime < (Date.now() - 60 * 1000 * 2))) { + console.log("Loading Systems - systemTime: " + systemListTime + " compare to: " + (Date.now() - 60 * 1000 * 2)); systemListTime = Date.now(); // set this first to prevent multiple calls to load_systems await load_systems(req.systemClients); }