# About delay node

**URL:** https://discourse.nodered.org/t/about-delay-node/8911
**Category:** General
**Created:** [13 March 2019 07:03 UTC](https://discourse.nodered.org/t/about-delay-node/8911 "2019-03-13T07:03:36Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Grace1](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@Grace1](https://discourse.nodered.org/u/Grace1)
#### Post date: [13 March 2019 07:03 UTC](https://discourse.nodered.org/t/about-delay-node/8911/1 "2019-03-13T07:03:36Z")

</div>

```auto
[{"id":"5649d154.e6843","type":"delay","z":"5e7bde25.a33bc","name":"","pauseType":"delay","timeout":"1","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"x":580,"y":840,"wires":[["2521869d.aca76a"]]},{"id":"a30bec74.c0856","type":"inject","z":"5e7bde25.a33bc","name":"","topic":"","payload":"1","payloadType":"str","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":310,"y":840,"wires":[["5649d154.e6843"]]},{"id":"2521869d.aca76a","type":"debug","z":"5e7bde25.a33bc","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","x":850,"y":840,"wires":[]}]

```

nice to meet you  
i'm newbie

When I click on the "Inject Node" the "Delay Node" works.

If I click on "Injection Node" again, "Delay Node" will reset and work.

Is it possible?

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [13 March 2019 07:11 UTC](https://discourse.nodered.org/t/about-delay-node/8911/2 "2019-03-13T07:11:39Z")

</div>

Hi. To get support you will need to make your flow presented here in forum properly.  
Read this: [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506) and edit your post.

Chers

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 March 2019 08:50 UTC](https://discourse.nodered.org/t/about-delay-node/8911/3 "2019-03-13T08:50:00Z")

</div>

> [@Grace1](#):
>
> When I click on the "Inject Node" the "Delay Node" works.
> 
> If I click on "Injection Node" again, "Delay Node" will reset and work.

In addition to correcting your original post to make the flow importable, please explain in more detail exactly what you want to happen.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [13 March 2019 09:36 UTC](https://discourse.nodered.org/t/about-delay-node/8911/4 "2019-03-13T09:36:30Z")

</div>

If you want the messages to come at a rate of one per second, change the Delay node option to `Rate Limit`

---

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [13 March 2019 09:44 UTC](https://discourse.nodered.org/t/about-delay-node/8911/5 "2019-03-13T09:44:56Z")

</div>

If what you are trying to do is to cancel any queued message when you click inject the second time then use Trigger node instead of Delay. Set it to send nothing initially then the latest message after the delay, and select Extend Delay if new message arrives.

---

<div class="post-metadata">

### Author: ![Grace1](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@Grace1](https://discourse.nodered.org/u/Grace1)
#### Post date: [14 March 2019 05:47 UTC](https://discourse.nodered.org/t/about-delay-node/8911/6 "2019-03-14T05:47:24Z")

</div>

thank you everybody ;).  
i succeeded by using "reset:true".
