1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fixed default session renew timer.

This commit is contained in:
Ylian Saint-Hilaire 2021-01-05 23:38:52 -08:00
parent b6cc60c1ac
commit 0e697167e9
6 changed files with 66 additions and 10 deletions

View file

@ -1543,6 +1543,7 @@ function CreateMeshCentralServer(config, args) {
for (var i in obj.mpsserver.ciraConnections) { data.conn.am += obj.mpsserver.ciraConnections[i].length; }
}
if (obj.firstStats === true) { delete obj.firstStats; data.first = true; }
if (obj.multiServer != null) { data.s = obj.multiServer.serverid; }
obj.db.SetServerStats(data); // Save the stats to the database
obj.DispatchEvent(['*'], obj, { action: 'servertimelinestats', data: data }); // Event the server stats
}, 300000);