What problem does it solve?
This Skill documents and guides changes to Madoc TS background job processing using BullMQ so that task dispatch, retries, and event handling remain consistent and reliable across workers and schedulers. It helps prevent misrouted tasks, lost retries, and configuration mismatches that can cause silent failures in asynchronous processing.
Core Features & Use Cases
- Review and adjust BullMQ worker configuration, including concurrency and Redis connection settings.
- Verify scheduler setup, QueueEvents listeners, and retry/logging behavior for robust failure handling.
- Map task types to their gateway/task handlers to ensure new or updated tasks are correctly routed and executed.
Use case: When adding a new task type or changing Redis or concurrency settings, update producer and scheduler logic and verify end-to-end job processing.
Quick Start
Use the queue-scheduler skill to inspect services/madoc-ts queue producer and scheduler, update any handler mappings, and confirm an enqueued job is processed successfully.