Back off comms reconnect attempts after prolonged failures

This commit is contained in:
Nick O'Leary
2016-04-10 17:28:28 +01:00
parent 08794bad74
commit 0c227be02d
3 changed files with 42 additions and 6 deletions

View File

@@ -48,6 +48,14 @@ RED.notify = (function() {
});
};
})();
n.update = (function() {
var nn = n;
return function(msg) {
nn.innerHTML = msg;
}
})();
if (!fixed) {
$(n).click((function() {
var nn = n;