mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
delay node: report queue activity wehn in by topic mode
This commit is contained in:
parent
d6211af5bd
commit
8de47c0a6e
@ -234,7 +234,10 @@ module.exports = function(RED) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (!hit) { node.buffer.push(msg); } // if not add to end of queue
|
||||
if (!hit) {
|
||||
node.buffer.push(msg); // if not add to end of queue
|
||||
node.reportDepth();
|
||||
}
|
||||
if (msg.hasOwnProperty("reset")) {
|
||||
node.buffer = [];
|
||||
node.status({text:"reset"});
|
||||
|
Loading…
Reference in New Issue
Block a user