From e032ff7f18b0ff1cf863345d5c36da24c751d8aa Mon Sep 17 00:00:00 2001 From: einhornimmond Date: Thu, 27 Nov 2025 20:50:33 +0100 Subject: [PATCH] wait on redis exit --- database/src/AppDatabase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/src/AppDatabase.ts b/database/src/AppDatabase.ts index 9cd798a26..cc9897185 100644 --- a/database/src/AppDatabase.ts +++ b/database/src/AppDatabase.ts @@ -99,7 +99,7 @@ export class AppDatabase { public async destroy(): Promise { await this.dataSource?.destroy() if (this.redisClient) { - this.redisClient.quit() + await this.redisClient.quit() this.redisClient = undefined } }