1
0
forked from mirror/misskey

Update QueueProcessorService.ts

This commit is contained in:
syuilo 2023-05-29 13:30:57 +09:00
parent 4790ddfad6
commit b35b9bc27f

View File

@ -324,15 +324,17 @@ export class QueueProcessorService implements OnApplicationShutdown {
}
@bindThis
public start() {
this.systemQueueWorker.run();
this.dbQueueWorker.run();
this.deliverQueueWorker.run();
this.inboxQueueWorker.run();
this.webhookDeliverQueueWorker.run();
this.relationshipQueueWorker.run();
this.objectStorageQueueWorker.run();
this.endedPollNotificationQueueWorker.run();
public async start(): Promise<void> {
await Promise.all([
this.systemQueueWorker.run(),
this.dbQueueWorker.run(),
this.deliverQueueWorker.run(),
this.inboxQueueWorker.run(),
this.webhookDeliverQueueWorker.run(),
this.relationshipQueueWorker.run(),
this.objectStorageQueueWorker.run(),
this.endedPollNotificationQueueWorker.run(),
]);
}
@bindThis