mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove redundant assignment.
The publish immediately overwrites this time so there isn't much point setting it.
This commit is contained in:
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
Block a user