Repository navigation
Commit 711ea48
authored
feat: CCP-6150-Migrate queueing from Bull to BullMQ (#286)
* Migrate queueing from Bull to BullMQ
Replaced Bull with BullMQ across backend queues, workers, and tests, including typed Queue/Job usage, new Queue/Worker/QueueEvents creation helpers, and a dedicated `:mq` Redis key prefix to isolate BullMQ keys. Introduced shared job policy utilities (`job-options.ts`) for retry/backoff/retention, refactored worker execution into QueueModule-managed processors, and extracted shared delivery logic into `DeliveryWorker`, `MergeBatchRunner`, and `DeliveryFailureHandler`. Updated monitoring, reconciliation, webhook delivery, cancel/reschedule job handling, and load-test drain scripts/workflow to match BullMQ semantics and naming.
* Parallelize queueing and normalize errors
Sonarqube fixes
* Fixing merge conflict mis-merge1 parent aecd7c1 commit 711ea48
55 files changed
Lines changed: 3573 additions & 3184 deletions
File tree
- .github/workflows
- backend
- src
- api
- admin/monitoring
- schemas
- gc-notify
- notification
- notify
- services
- common
- decorators
- redis
- queue
- services
- workers
- test
- tests/load
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments