1
0
mirror of https://github.com/node-red/node-red-nodes.git synced 2023-10-10 13:36:58 +02:00

Reduce resubscription time (#256)

Halve the resubscrciption timeout to make sure event
subscriptions get renewed
This commit is contained in:
Ben Hardill 2016-12-03 11:26:16 +00:00 committed by Dave Conway-Jones
parent fe1a96d67d
commit 92520f7d57

View File

@ -69,7 +69,7 @@ module.exports = function(RED) {
}; };
setInterval(resubscribe, 200000); setInterval(resubscribe, 100000);
var subscribe = function(node) { var subscribe = function(node) {
var dev = node.dev; var dev = node.dev;