From 0ff324b0db65ed783897550b49adb736eca42beb Mon Sep 17 00:00:00 2001 From: Dave Conway-Jones Date: Fri, 25 Oct 2019 17:03:16 +0100 Subject: [PATCH] delay node- remove commented out code --- .../node_modules/@node-red/nodes/core/function/89-delay.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/function/89-delay.js b/packages/node_modules/@node-red/nodes/core/function/89-delay.js index 374ffadb0..49d856deb 100644 --- a/packages/node_modules/@node-red/nodes/core/function/89-delay.js +++ b/packages/node_modules/@node-red/nodes/core/function/89-delay.js @@ -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);