diff --git a/red/comms.js b/red/comms.js index 3664f55cc..06b21ce37 100644 --- a/red/comms.js +++ b/red/comms.js @@ -77,7 +77,6 @@ function start() { heartbeatTimer = setInterval(function() { var now = Date.now(); if (now-lastSentTime > webSocketKeepAliveTime) { - lastSentTime = now; publish("hb",lastSentTime); } }, webSocketKeepAliveTime);