From cca07a399acd9306b2a588123a3c65ba9ba52a96 Mon Sep 17 00:00:00 2001 From: luying Date: Tue, 23 Aug 2022 18:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=8E=A9=E5=AE=B6=E5=9C=A8?= =?UTF-8?q?=E7=BA=BF=E6=95=B0=E7=9A=84=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/redisService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/game-server/app/services/redisService.ts b/game-server/app/services/redisService.ts index 48f1359c3..fa98562b1 100644 --- a/game-server/app/services/redisService.ts +++ b/game-server/app/services/redisService.ts @@ -24,6 +24,7 @@ export async function initAllRank() { console.log('******* initAllRank ******') const serverList = await ServerlistModel.findByEnv(pinus.app.get('env')); await delKeys(REDIS_KEY.ONLINE_USERS); + await delKeys(REDIS_KEY.ONLINE_CNT); await delKeys(REDIS_KEY.USER_INFO); await delKeys(REDIS_KEY.GUILD_INFO); await delKeys(REDIS_KEY.TOP_LINEUP_INFO);