set timer metadata for InfoUpdate

Bryan Roe committed Dec 10, 2020 at 10:00 UTC b7a6d142cf84806deb9085403990af50ec483f6c
1 file changed +5 -1
agents/meshcore.js
+5 -1
@@ -3767,7 +3767,11 @@ function createMeshCore(agent) {
3767 // Update the server on with basic info, logged in users and more advanced stuff, like Intel ME and Network Settings
3768 meInfoStr = null;
3769 sendPeriodicServerUpdate(null, true);
3770 - if (selfInfoUpdateTimer == null) { selfInfoUpdateTimer = setInterval(sendPeriodicServerUpdate, 1200000); } // 20 minutes
3770 + if (selfInfoUpdateTimer == null)
3771 + {
3772 + selfInfoUpdateTimer = setInterval(sendPeriodicServerUpdate, 1200000); // 20 minutes
3773 + selfInfoUpdateTimer.metadata = 'meshcore (InfoUpdate Timer)';
3774 + }
3775
3776 // Send any state messages
3777 if (Object.keys(tunnelUserCount.msg).length > 0) {