Use BullMQAdapter (#109)
Co-authored-by: anemone <anemoneya@icloud.com>
This commit is contained in:
		@@ -4,7 +4,7 @@ import { fileURLToPath } from 'node:url';
 | 
				
			|||||||
import { randomBytes } from 'node:crypto';
 | 
					import { randomBytes } from 'node:crypto';
 | 
				
			||||||
import { Inject, Injectable } from '@nestjs/common';
 | 
					import { Inject, Injectable } from '@nestjs/common';
 | 
				
			||||||
import { createBullBoard } from '@bull-board/api';
 | 
					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 { FastifyAdapter } from '@bull-board/fastify';
 | 
				
			||||||
import ms from 'ms';
 | 
					import ms from 'ms';
 | 
				
			||||||
import sharp from 'sharp';
 | 
					import sharp from 'sharp';
 | 
				
			||||||
@@ -169,7 +169,7 @@ export class ClientServerService {
 | 
				
			|||||||
				this.dbQueue,
 | 
									this.dbQueue,
 | 
				
			||||||
				this.objectStorageQueue,
 | 
									this.objectStorageQueue,
 | 
				
			||||||
				this.webhookDeliverQueue,
 | 
									this.webhookDeliverQueue,
 | 
				
			||||||
			].map(q => new BullAdapter(q)),
 | 
								].map(q => new BullMQAdapter(q)),
 | 
				
			||||||
			serverAdapter,
 | 
								serverAdapter,
 | 
				
			||||||
		});
 | 
							});
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user