mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-14 01:37:48 -05:00
less logs
This commit is contained in:
@@ -15,9 +15,8 @@ async function updateActiveSystems() {
|
|||||||
// Go through all of the Systems
|
// Go through all of the Systems
|
||||||
let siteTotal = 0;
|
let siteTotal = 0;
|
||||||
let activeSystems = 0;
|
let activeSystems = 0;
|
||||||
console.log(callTotals);
|
|
||||||
for await (let item of System.find()) {
|
for await (let item of System.find()) {
|
||||||
console.log("Checking: " + item.shortName);
|
|
||||||
// go through all the systems
|
// go through all the systems
|
||||||
// if you have received some calls during that last period, make the system active
|
// if you have received some calls during that last period, make the system active
|
||||||
if ((callTotals[item.shortName] != undefined) && (callTotals[item.shortName] > 0)) {
|
if ((callTotals[item.shortName] != undefined) && (callTotals[item.shortName] > 0)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user