mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-11-26 07:57:56 +03: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
|
||||
meInfoStr = null;
|
||||
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
|
||||
if (Object.keys(tunnelUserCount.msg).length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user