set timer metadata for InfoUpdate

This commit is contained in:
Bryan Roe 2020-12-10 10:00:15 -08:00
parent 182d5fb295
commit b7a6d142cf

View File

@ -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) {