Skip to content

Commit fc99159

Browse files
committed
修复 issue 4. cause by mysql dif version
1 parent eb1817f commit fc99159

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎cachecloud-open-web/src/main/java/com/sohu/cache/machine/impl/MachineCenterImpl.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ public Map<String, Object> collectMachineInfo(final long hostId, final long coll
138138
instanceStatsCenter.saveStandardStats(infoMap, ip, (int) hostId, ConstUtils.MACHINE);
139139
machineStats.setMemoryFree(Long.valueOf(machineStats.getMemoryFree()) * ConstUtils._1024 + "");
140140
machineStats.setMemoryTotal(Long.valueOf(machineStats.getMemoryTotal()) * ConstUtils._1024 + "");
141+
machineStats.setModifyTime(new Date());
141142
machineStatsDao.mergeMachineStats(machineStats);
142143
logger.info("collect machine info done, host: {}, time: {}", ip, collectTime);
143144
}

0 commit comments

Comments
 (0)