delayed-queues verified
How many steps the ladder has
delayed-queues: …Number of delay steps declared at start-up; each step waits twice as long as the one before, so the count decides the longest single wait.
Values
- Values
positive integer- applying
restart required- where it can be set
in the config file · with a startup flag · as an environment variable
In detail
Eleven steps reach 1024 seconds, a little over seventeen minutes, and any longer wait is made by chaining steps — a message can pass through several before returning. Observed on the stand as exactly eleven queues, outbox+0001 … outbox+1024, each with x-message-ttl equal to its name in seconds and a dead-letter routing key back to the sending queue. Adding steps extends the longest single hop; removing them makes long waits pass through more queues, which costs broker work rather than accuracy. The count cannot be changed on queues that already exist — RabbitMQ refuses to redeclare a queue with different arguments — so changing it means deleting the ladder first.