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

delay node- remove commented out code

This commit is contained in:
Dave Conway-Jones 2019-10-25 17:03:16 +01:00
parent a96d5096fe
commit 0ff324b0db
No known key found for this signature in database
GPG Key ID: 302A6725C594817F

View File

@ -166,10 +166,8 @@ module.exports = function(RED) {
var m = RED.util.cloneMessage(msg);
delete m.flush;
if (node.intervalID !== -1) {
//if (!msg.hasOwnProperty("flush")) {
node.buffer.push(m);
node.reportDepth();
//}
node.buffer.push(m);
node.reportDepth();
}
else {
node.send(m);