This commit is contained in:
zhuangqian 2017-01-26 09:19:50 +08:00
parent 55d6d95c09
commit 14c80ca1d6
2 changed files with 4 additions and 4 deletions

View File

@ -24,6 +24,6 @@ public interface ConstCache {
String LONG_CACHE = "LONG_CACHE";//全局永久变量
String SYS_CACHE = "SYS_CACHE";//系统变量 1小时
String SYS_CACHE = "SYS_CACHE";//系统变量 10小时
}

View File

@ -36,13 +36,13 @@
transactionalMode="off">
</cache>
<!-- 系统变量1小时-->
<!-- 系统变量10小时-->
<cache name="SYS_CACHE"
maxElementsInMemory="50000"
clearOnFlush="false"
eternal="false"
timeToIdleSeconds="3600"
timeToLiveSeconds="3600"
timeToIdleSeconds="36000"
timeToLiveSeconds="36000"
overflowToDisk="true"
diskSpoolBufferSizeMB="1024"
maxElementsOnDisk="100000"