From 073324b2eebfe13a912a1be75716116c102d8a00 Mon Sep 17 00:00:00 2001 From: mamengke01 <794347210@qq.com> Date: Tue, 12 Jan 2021 20:04:59 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- game-server/app/services/timeTaskService.ts | 2 +- shared/pubUtils/util.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/game-server/app/services/timeTaskService.ts b/game-server/app/services/timeTaskService.ts index dd0025463..fc45d481e 100644 --- a/game-server/app/services/timeTaskService.ts +++ b/game-server/app/services/timeTaskService.ts @@ -43,7 +43,7 @@ export async function init() { } let settleTime = (seasonEndTime - SETTLE_DIFF)* PER_SECOND; seasonJobId = scheduleJob(settleTime, setPvpSeasonResult); - warJobId = scheduleJob("0 0 0 * * 1", resetPvpWarId); + warJobId = scheduleJob("0 0 0 * * 3", resetPvpWarId); } export async function setPvpSeasonResult(obj:{ name:string, notSetNext?: boolean }) { diff --git a/shared/pubUtils/util.ts b/shared/pubUtils/util.ts index 09b6d5a2b..302dd2ea6 100644 --- a/shared/pubUtils/util.ts +++ b/shared/pubUtils/util.ts @@ -7,7 +7,7 @@ import path = require('path'); import { DicRandomEffectPool } from './dictionary/DicRandomEffectPool'; import { HERO_CE_RATIO, ABI_STAGE } from '../consts'; -import { uniq, findWhere, findIndex } from 'underscore'; +import { findIndex } from 'underscore'; const moment = require('moment');