Skip to content

Commit

Permalink
Merge pull request #4203 from node-red/fix-delay-node-flush-issue-4202
Browse files Browse the repository at this point in the history
Fix delay node flush issue
  • Loading branch information
knolleary committed Jun 21, 2023
2 parents e900078 + 5e4fce1 commit 0b3f7db
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0b3f7db

Please sign in to comment.