mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
add rate option to queue and timed modes. so a simple check box instead.
This commit is contained in:
@@ -25,7 +25,9 @@
|
||||
<dt class="optional">rate <span class="property-type">number</span></dt>
|
||||
<dd>Sets the rate value in milliseconds between messages.
|
||||
This node overwrites the existing rate value defined in the node configuration
|
||||
when it receives the message which contains <code>msg.rate</code> value.</dd>
|
||||
when it receives the message which contains <code>msg.rate</code> value in milliSeconds.
|
||||
This option only applies if the node is configured to allow the message to
|
||||
override the configured default rate interval.</dd>
|
||||
<dt class="optional">reset</dt>
|
||||
<dd>If the received message has this property set to any value, all
|
||||
outstanding messages held by the node are cleared without being sent.</dd>
|
||||
@@ -36,15 +38,17 @@
|
||||
<h3>Details</h3>
|
||||
<p>When configured to delay messages, the delay interval can be a fixed value,
|
||||
a random value within a range or dynamically set for each message.
|
||||
Each message is delayed independently of any other message, based on
|
||||
Each message is delayed independently of any other message, based on
|
||||
the time of its arrival.
|
||||
</p>
|
||||
<p>When configured to rate limit messages, their delivery is spread across
|
||||
the configured time period. The status shows the number of messages currently in the queue.
|
||||
It can optionally discard intermediate messages as they arrive.</p>
|
||||
</p>
|
||||
<p> If set to allow override of the rate, the new rate will be applied immediately,
|
||||
and will remain in effect until changed again, the node is reset, or the flow is restarted.</p>
|
||||
<p>The rate limiting can be applied to all messages, or group them according to
|
||||
their <code>msg.topic</code> value. When grouping, intermerdiate messages are
|
||||
their <code>msg.topic</code> value. When grouping, intermediate messages are
|
||||
automatically dropped. At each time interval, the node can either release
|
||||
the most recent message for all topics, or release the most recent message
|
||||
for the next topic.
|
||||
|
Reference in New Issue
Block a user