Menu

BullMQ 6 in NestJS: Stalled Jobs, Deduplication, and Moving Repeatable Jobs to Job Schedulers — Field Notes
📰

BullMQ 6 in NestJS: Stalled Jobs, Deduplication, and Moving Repeatable Jobs to Job Schedulers — Field Notes

DEV Community: redis·Ahmed Mahmoud·3 days ago
#PBXtAIwm
#devtoredis#devto#dev#discard#resume
Long article (2383 words) — no AI summary yet.
Reading 0:00
15s threshold

Headline: BullMQ, the Redis-backed job queue for Node.js, fails in production mostly through configuration rather than code: a Redis maxmemory-policy other than noeviction lets Redis evict queue keys, a CPU-bound processor that blocks the event loop past its 30-second job lock gets the same job run twice, and a custom jobId silently drops legitimate jobs. BullMQ 6.0.0, released on 2026-07-30, also removes the legacy repeat option, so recurring jobs have to move to Job Schedulers before the upgrade.

I use BullMQ behind NestJS APIs for emails, PDF reports, webhook fan-out and nightly cleanups. None of the failures below threw an error where I was looking.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.