pvp:修复赛季初始排行
This commit is contained in:
+3
-3
@@ -122,8 +122,9 @@ app.configure(ALL_ENVS, 'guild', function () {
|
||||
})
|
||||
|
||||
app.configure(ALL_ENVS, 'systimer', function () {
|
||||
app.afterStart(() => {
|
||||
timeTaskService.init();
|
||||
app.afterStart(async () => {
|
||||
await redisService.initAllRank();
|
||||
await timeTaskService.init();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -219,7 +220,6 @@ if (app.isMaster()) {
|
||||
app.event.on('start_all', (servers) => {
|
||||
// 全部服务器启动完毕后初始化 redis 数据
|
||||
redisService.readDataBase();
|
||||
redisService.initAllRank();
|
||||
redisService.clearComBtlQueue();
|
||||
redisService.clearChannelServers();
|
||||
updateTeamStatus(COM_TEAM_STATUS.DEFAULT, COM_TEAM_STATUS.LOOSE);
|
||||
|
||||
Reference in New Issue
Block a user