Add export queue to the queue admin

This commit is contained in:
Jackson Harper
2024-11-02 00:23:51 +08:00
parent d027bae311
commit 0b6e5d1438

View File

@ -62,6 +62,9 @@ const run = async () => {
const backendQueue = new Queue('omnivore-backend-queue', {
connection: connection,
})
const exportQueue = new Queue('omnivore-export-queue', {
connection: connection,
})
const contentFetchQueue = new Queue('omnivore-content-fetch-queue', {
connection: connection,
})
@ -72,6 +75,7 @@ const run = async () => {
createBullBoard({
queues: [
new BullMQAdapter(backendQueue),
new BullMQAdapter(exportQueue),
new BullMQAdapter(contentFetchQueue),
],
serverAdapter,