Use BullMQAdapter (#109)
Co-authored-by: anemone <anemoneya@icloud.com>
This commit is contained in:
parent
7b1efd6b97
commit
ff0166fe71
|
@ -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,
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue