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:
parent
a96d5096fe
commit
0ff324b0db
@ -166,10 +166,8 @@ module.exports = function(RED) {
|
|||||||
var m = RED.util.cloneMessage(msg);
|
var m = RED.util.cloneMessage(msg);
|
||||||
delete m.flush;
|
delete m.flush;
|
||||||
if (node.intervalID !== -1) {
|
if (node.intervalID !== -1) {
|
||||||
//if (!msg.hasOwnProperty("flush")) {
|
|
||||||
node.buffer.push(m);
|
node.buffer.push(m);
|
||||||
node.reportDepth();
|
node.reportDepth();
|
||||||
//}
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
node.send(m);
|
node.send(m);
|
||||||
|
Loading…
Reference in New Issue
Block a user