Delay node set to rate limit omits messages unexpectedly in case of bursts

Sorry? :slight_smile:

@dceejay, well, as a smallest common denominator, we could agree that in all cases a rate limit is being obeyed :slight_smile:

On a different but related note, is there a good tutorial or starting point that helps me diving into automated testing of node modules? Is automated testing a thing for node-red nodes?

Could set something up in node-red, but maybe there is a better way? Directly on gitHub maybe?

we certainly can ! - I have no problem with your node existing and it being enhanced with extra modes - i was just pointing out that the existing node can do something similar that may be adequate for a set of use cases.

hmm tutorial re testing... err not really... we do use grunt, mocha, and the node red test helper for testing (most of) the core and extra nodes - eg https://github.com/node-red/node-red/blob/master/test/nodes/core/function/89-delay_spec.js for the core delay node... or https://github.com/node-red/node-red-nodes/blob/master/test/function/smooth/17-smooth_spec.js for the smooth node

1 Like

There isn't much about queueing theory (where this discussion may be going) that is intuitive or straightforward. I'm happy to continue the conversation by DM.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.