diff --git a/game-server/app.ts b/game-server/app.ts index e845083ce..21ec24e54 100644 --- a/game-server/app.ts +++ b/game-server/app.ts @@ -148,9 +148,9 @@ app.configure(ALL_ENVS, 'gm', function () { app.configure(ALL_ENVS, 'systimer', function () { app.event.on('start_all', async (servers) => { + redisService.redisSubScribe(); await redisService.initAllRank(); await timeTaskService.init(); - redisService.redisSubScribe(); }); });