Skip to content

add burst mode to delay node#5391

Merged
knolleary merged 1 commit intodevfrom
add-burst-mode-to-delay-node
Jan 21, 2026
Merged

add burst mode to delay node#5391
knolleary merged 1 commit intodevfrom
add-burst-mode-to-delay-node

Conversation

@dceejay
Copy link
Copy Markdown
Member

@dceejay dceejay commented Dec 21, 2025

and tests

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Proposed changes

Adds a burst mode to the delay node as per this discussion - https://discourse.nodered.org/t/delay-node-rate-limit-strange-behaviour-confusing-limit-rates-is-it-lying-us-a-little/100005 - It has also been mentioned several times before that we don't handle bursts as the present implementation is confusing.

This PR - add a new mode - burst - (vs the old mode, evenly spaced) - this allows the number of msgs specified through then blocks - using the time period specified as a sliding time window to unlock as required... excess messages can either be dropped, or sent to the second output - they are not queued.

Screenshot 2025-12-22 at 09 47 31

Checklist

  • I have read the contribution guidelines
  • For non-bugfix PRs, I have discussed this change on the forum/slack team.
  • I have run npm run test to verify the unit tests pass
  • I have added suitable unit tests to cover the new/changed functionality

@dceejay dceejay added this to the 5.0 milestone Dec 21, 2025
@knolleary knolleary merged commit 8faebae into dev Jan 21, 2026
5 checks passed
@knolleary knolleary deleted the add-burst-mode-to-delay-node branch January 21, 2026 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants