# Msg.flush adding message into the queue

**URL:** <https://discourse.nodered.org/t/msg-flush-adding-message-into-the-queue/94665>\
**Category:** General\
**Tags:** rate-limit\
**Created:** [16 January 2025 04:54 UTC](https://discourse.nodered.org/t/msg-flush-adding-message-into-the-queue/94665 "2025-01-16T04:54:41Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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:** [17 January 2025 09:40 UTC](https://discourse.nodered.org/t/msg-flush-adding-message-into-the-queue/94665/10 "2025-01-17T09:40:21Z")

</div>

You can use the flow shown [here](https://discourse.nodered.org/t/help-with-message-queuing-maybe-a-repeat/90134/2) instead of your rate limit -\> process. It does not use a fixed rate limit but releases the next message when the previous one has been completed however long it takes, so it will automatically adapt the rate to maximise the throughput.

---

_[View the full topic](https://discourse.nodered.org/t/msg-flush-adding-message-into-the-queue/94665)._
