mirror of https://github.com/node-red/node-red.git
Remove redundant assignment.
The publish immediately overwrites this time so there isn't much point setting it.pull/313/head
parent
a8c491bf2b
commit
195f581da7
|
@ -77,7 +77,6 @@ function start() {
|
|||
heartbeatTimer = setInterval(function() {
|
||||
var now = Date.now();
|
||||
if (now-lastSentTime > webSocketKeepAliveTime) {
|
||||
lastSentTime = now;
|
||||
publish("hb",lastSentTime);
|
||||
}
|
||||
}, webSocketKeepAliveTime);
|
||||
|
|
Loading…
Reference in New Issue