Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
feat: add support for prioritized jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
s-r-x committed Aug 1, 2023
1 parent c6b6c58 commit 1092d9a
Show file tree
Hide file tree
Showing 21 changed files with 453 additions and 123 deletions.
4 changes: 0 additions & 4 deletions fixtures/bull-server/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Queue from 'bull';
import {
Queue as BullMqQueue,
Worker as MqWorker,
QueueScheduler as MqQueueScheduler,
ConnectionOptions,
} from 'bullmq';

Expand Down Expand Up @@ -47,9 +46,6 @@ const mqQueues = [
connection: mqConnOptions,
}),
];
new MqQueueScheduler(mqQueues[0].name, {
connection: mqConnOptions,
});
mqQueues.forEach((queue) => {
new MqWorker(
queue.name,
Expand Down

0 comments on commit 1092d9a

Please sign in to comment.