Use BullMQAdapter (#109)

Co-authored-by: anemone <anemoneya@icloud.com>
This commit is contained in:
まっちゃとーにゅ 2023-07-25 02:25:29 +09:00 committed by GitHub
parent 7b1efd6b97
commit ff0166fe71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url';
import { randomBytes } from 'node:crypto';
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';
@ -169,7 +169,7 @@ export class ClientServerService {
this.dbQueue,
this.objectStorageQueue,
this.webhookDeliverQueue,
].map(q => new BullAdapter(q)),
].map(q => new BullMQAdapter(q)),
serverAdapter,
});