Skip to content

Commit 07ca0c8

Browse files
authored
Fix management URL and enhance delay policies section
Updated the management URL format and clarified policies for delay in the README.
1 parent c17dfc0 commit 07ca0c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const runMQ = await RunMQ.start({
4444
reconnectDelay: 5000, // Optional, default: 5000ms
4545
maxReconnectAttempts: 5, // Optional, default: 5
4646
management: {
47-
url: "http://localhost:15673/",
47+
url: "http://localhost:15673",
4848
username: "guest",
4949
password: "guest"
5050
};
@@ -205,7 +205,7 @@ await runMQ.process('order.placed', {
205205

206206
RunMQ can leverage RabbitMQ policies to manage the delay between attempts, it's not used by default, however it's <b>highly recommended</b> to enable it.
207207

208-
- When `usePoliciesForDelay` is enabled, RunMQ creates delay queues with TTL configured via RabbitMQ policies rather than hard-coding TTL in the queue itself.
208+
- When `usePoliciesForDelay` is enabled in consumer config, RunMQ creates delay queues with TTL configured via RabbitMQ policies rather than hard-coding TTL in the queue itself.
209209
- Hard-coding the TTL requires manual queue re-declaration to change delays, which can involve deleting queues - making it cumbersome and error-prone.
210210
- Policies allow dynamic updates to the TTL without recreating queues — you can change attempts delay anytime, and RunMQ will take care of the rest.
211211

0 commit comments

Comments
 (0)