Use BullMQAdapter (#11367)

This commit is contained in:
hutchisr 2023-07-25 00:32:52 -07:00 committed by GitHub
parent 8851e90316
commit ac6a8edf0b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import { Inject, Injectable } from '@nestjs/common';
import { createBullBoard } from '@bull-board/api';
import { BullAdapter } from '@bull-board/api/bullAdapter.js';
import { BullMQAdapter } from '@bull-board/api/bullMQAdapter.js';
import { FastifyAdapter } from '@bull-board/fastify';
import ms from 'ms';
import sharp from 'sharp';
@ -168,7 +168,7 @@ export class ClientServerService {
this.dbQueue,
this.objectStorageQueue,
this.webhookDeliverQueue,
].map(q => new BullAdapter(q)),
].map(q => new BullMQAdapter(q)),
serverAdapter,
});