mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 08:15:12 +00:00
Update QueueProcessorService.ts
This commit is contained in:
parent
4790ddfad6
commit
b35b9bc27f
1 changed files with 11 additions and 9 deletions
|
@ -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 a new issue