refactor: Run migrations and links sync after loading the app (#8582)
This commit is contained in:
1 parent
92a7b5b4c0
commit
19d30df624
6 files changed
+103
-54
No files matched your search
@@ -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