Update QueueProcessorService.ts
This commit is contained in:
parent
4790ddfad6
commit
b35b9bc27f
@ -324,15 +324,17 @@ export class QueueProcessorService implements OnApplicationShutdown {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public start() {
|
public async start(): Promise<void> {
|
||||||
this.systemQueueWorker.run();
|
await Promise.all([
|
||||||
this.dbQueueWorker.run();
|
this.systemQueueWorker.run(),
|
||||||
this.deliverQueueWorker.run();
|
this.dbQueueWorker.run(),
|
||||||
this.inboxQueueWorker.run();
|
this.deliverQueueWorker.run(),
|
||||||
this.webhookDeliverQueueWorker.run();
|
this.inboxQueueWorker.run(),
|
||||||
this.relationshipQueueWorker.run();
|
this.webhookDeliverQueueWorker.run(),
|
||||||
this.objectStorageQueueWorker.run();
|
this.relationshipQueueWorker.run(),
|
||||||
this.endedPollNotificationQueueWorker.run();
|
this.objectStorageQueueWorker.run(),
|
||||||
|
this.endedPollNotificationQueueWorker.run(),
|
||||||
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
|
Loading…
Reference in New Issue
Block a user