# Delay node rate limit

**URL:** <https://discourse.nodered.org/t/delay-node-rate-limit/43489>\
**Category:** General\
**Created:** [1 April 2021 05:43 UTC](https://discourse.nodered.org/t/delay-node-rate-limit/43489 "2021-04-01T05:43:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![slopsjon](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/slopsjon/32/39583_2.png) [@slopsjon](https://discourse.nodered.org/u/slopsjon)\
**Post date:** [1 April 2021 05:43 UTC](https://discourse.nodered.org/t/delay-node-rate-limit/43489/1 "2021-04-01T05:43:36Z")

</div>

Node-red v1.2.9

If I use a delay node in rate limit mode for all messages it will send the first message straight away and then the next messages after the delay.

```auto
[{"id":"bd97c8ed.a5c8d8","type":"delay","z":"e003c02f.a6c068","name":"","pauseType":"rate","timeout":"5","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"minute","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":true,"x":610,"y":280,"wires":[["bd66f03e.bdf0c"]]}]

```

It I set the delay node to rate limit topics it only sends the first message after the delay period and not straight away as in the all messages setting. Is this working correctly, I was expecting it to send the first message immediately.

```auto
[{"id":"1fccc223.7ba87e","type":"inject","z":"e003c02f.a6c068","name":"Inject Array","props":[{"p":"payload"},{"p":"topic","v":"[0,1,2,3,4,5,6,7,8,9]","vt":"json"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"[0,1,2,3,4,5,6,7,8,9]","payloadType":"json","x":330,"y":280,"wires":[["b2837466.e02a38"]]}]

```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 May 2021 05:44 UTC](https://discourse.nodered.org/t/delay-node-rate-limit/43489/2 "2021-05-31T05:44:21Z")

</div>

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