Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

BullMQ in NestJS: Retries, Idempotency and Dead-Letter Queues

A queue that retries blindly is worse than no queue at all. It double-sends the welcome email, double-charges the customer, and then deletes the evidence by retrying the same broken job until the…

  • BullMQ with NestJS implemented retries, idempotency, and dead-letter queues
  • MaxRetriesPerRequest set to null to avoid blocking Redis commands
  • Failed jobs retained for 30 days, capped at 5000 for inspection and replay

More from Thursday 5 November →