mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 23:25:53 -05:00
set timer metadata for InfoUpdate
This commit is contained in:
parent
182d5fb295
commit
b7a6d142cf
@ -3767,7 +3767,11 @@ function createMeshCore(agent) {
|
|||||||
// Update the server on with basic info, logged in users and more advanced stuff, like Intel ME and Network Settings
|
// Update the server on with basic info, logged in users and more advanced stuff, like Intel ME and Network Settings
|
||||||
meInfoStr = null;
|
meInfoStr = null;
|
||||||
sendPeriodicServerUpdate(null, true);
|
sendPeriodicServerUpdate(null, true);
|
||||||
if (selfInfoUpdateTimer == null) { selfInfoUpdateTimer = setInterval(sendPeriodicServerUpdate, 1200000); } // 20 minutes
|
if (selfInfoUpdateTimer == null)
|
||||||
|
{
|
||||||
|
selfInfoUpdateTimer = setInterval(sendPeriodicServerUpdate, 1200000); // 20 minutes
|
||||||
|
selfInfoUpdateTimer.metadata = 'meshcore (InfoUpdate Timer)';
|
||||||
|
}
|
||||||
|
|
||||||
// Send any state messages
|
// Send any state messages
|
||||||
if (Object.keys(tunnelUserCount.msg).length > 0) {
|
if (Object.keys(tunnelUserCount.msg).length > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user