配置:easy-monitor修改

This commit is contained in:
luying
2022-08-18 16:18:58 +08:00
parent c9f965ab83
commit 85addcf8b0
4 changed files with 9 additions and 9 deletions

View File

@@ -690,7 +690,7 @@ export class CheckSingleTask {
{
let { warId, count = 1, skipTower } = param;
let dicWar = gameData.war.get(warId);
console.log('##### skipTower', skipTower)
// console.log('##### skipTower', skipTower)
if (skipTower || dicWar.warType == WAR_TYPE.TOWER) {
result = { inc: count };
}
@@ -959,7 +959,7 @@ export class CheckSingleTask {
let addCount = 0;
for(let eplaceId of ePlaceIds) {
let { oldEquip, newEquip } = getEquipById(oldEplace, newEplace, eplaceId);
console.log('##### oldEquip', oldEquip.lv, newEquip.lv, dicTaskParam[1])
// console.log('##### oldEquip', oldEquip.lv, newEquip.lv, dicTaskParam[1])
if(oldEquip.lv < dicTaskParam[1] && newEquip.lv >= dicTaskParam[1]) {
addCount += 1;
}
@@ -1322,7 +1322,7 @@ export class CheckSingleTask {
let oldLv = records.length > 0? parseInt(records[0]): 0;
let maxLv = Math.max(...connections.map(cur => cur.level))||0;
console.log('##### TASK_TYPE.CONNECT_ONE_HERO_MAX_LV', oldLv, maxLv )
// console.log('##### TASK_TYPE.CONNECT_ONE_HERO_MAX_LV', oldLv, maxLv )
if(oldLv < maxLv) {
result = { set: maxLv, records: [`${maxLv}`] };
}

View File

@@ -2,9 +2,9 @@
module.exports = {
// I. 必须的配置
server: 'ws://172.16.4.107:9092', // 填写前一节中部署的 xtransit-server 地址
server: 'ws://172.16.4.109:9092', // 填写前一节中部署的 xtransit-server 地址
appId: 1, // 创建应用得到的应用 ID
appSecret: '7067646b4bbd35006fb077d7133d252f', // 创建应用得到的应用 Secret
appSecret: 'b65a927ce54c53c2867139b3636f5993', // 创建应用得到的应用 Secret
// II. 比较重要的可选配置
disks: [], // 数组,配置需要监控的 disk 全路径

View File

@@ -18,9 +18,9 @@ export default (appInfo: EggAppInfo) => {
};
config.xtransit = {
server: 'ws://172.16.4.107:9092',
server: 'ws://172.16.4.109:9092',
appId: 2,
appSecret: '19f8d6272fbba17294513610ba67f21b'
appSecret: '103981eb5b7781fedea116ece0ee00ac'
};
config.customLogger = {

View File

@@ -18,9 +18,9 @@ export default (appInfo: EggAppInfo) => {
};
config.xtransit = {
server: 'ws://172.16.4.107:9092',
server: 'ws://172.16.4.109:9092',
appId: 2,
appSecret: '19f8d6272fbba17294513610ba67f21b'
appSecret: '103981eb5b7781fedea116ece0ee00ac'
};
config.customLogger = {