refactor: Run migrations and links sync after loading the app (#8582)
This commit is contained in:
@@ -58,11 +58,11 @@ export class RedisDistributedTransactionStorage
|
||||
|
||||
async onApplicationPrepareShutdown() {
|
||||
// Close worker gracefully, i.e. wait for the current jobs to finish
|
||||
await this.worker.close()
|
||||
await this.worker?.close()
|
||||
}
|
||||
|
||||
async onApplicationShutdown() {
|
||||
await this.queue.close()
|
||||
await this.queue?.close()
|
||||
}
|
||||
|
||||
async onApplicationStart() {
|
||||
|
||||
Reference in New Issue
Block a user