mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Merge pull request #4203 from node-red/fix-delay-node-flush-issue-4202
Fix delay node flush issue
This commit is contained in:
commit
0b3f7dbb1f
@ -229,6 +229,7 @@ module.exports = function(RED) {
|
||||
node.on("input", function(msg, send, done) {
|
||||
if (!node.drop) {
|
||||
var m = RED.util.cloneMessage(msg);
|
||||
delete m.flush;
|
||||
if (Object.keys(m).length > 1) {
|
||||
if (node.intervalID !== -1) {
|
||||
if (node.allowrate && m.hasOwnProperty("rate") && !isNaN(parseFloat(m.rate)) && node.rate !== m.rate) {
|
||||
|
Loading…
Reference in New Issue
Block a user