fix: eventBus at end of params
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 35s
All checks were successful
Deploy API Server / build-and-deploy (push) Successful in 35s
This commit is contained in:
parent
7c1e439c3b
commit
903474b7c2
@ -17,10 +17,10 @@ export class QueueService {
|
||||
|
||||
constructor(
|
||||
private readonly prisma: PrismaService,
|
||||
@Optional() private readonly eventBus?: any,
|
||||
@InjectQueue(QUEUE_AI_ANALYSIS) private readonly aiQueue: Queue,
|
||||
@InjectQueue(QUEUE_DOCUMENT_IMPORT) private readonly importQueue: Queue,
|
||||
@InjectQueue(QUEUE_NOTIFICATION) private readonly notifyQueue: Queue,
|
||||
@Optional() private readonly eventBus?: any,
|
||||
) {}
|
||||
|
||||
async add(queueName: string, data: any, opts?: { jobId?: string; attempts?: number; backoff?: number }) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user