mirror of
https://github.com/IT4Change/gradido.git
synced 2026-03-01 12:44:43 +00:00
wait on redis exit
This commit is contained in:
parent
907b61cd3b
commit
e032ff7f18
@ -99,7 +99,7 @@ export class AppDatabase {
|
|||||||
public async destroy(): Promise<void> {
|
public async destroy(): Promise<void> {
|
||||||
await this.dataSource?.destroy()
|
await this.dataSource?.destroy()
|
||||||
if (this.redisClient) {
|
if (this.redisClient) {
|
||||||
this.redisClient.quit()
|
await this.redisClient.quit()
|
||||||
this.redisClient = undefined
|
this.redisClient = undefined
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user