Skip to content

Commit fea0b41

Browse files
committed
fix: initialize QueueManager during boot phase
1 parent fa162f8 commit fea0b41

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

providers/queue_provider.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ export default class QueueProvider {
4141
})
4242
}
4343

44+
async boot() {
45+
await this.app.container.make('queue.manager')
46+
}
47+
4448
async shutdown() {
4549
const queueManager = await this.app.container.make('queue.manager')
4650
await queueManager.destroy()

0 commit comments

Comments
 (0)