暂时注释掉Ehcache缓存拦截器(权限不缓存),降低内存溢出

pull/24/head^2
zhangdaihao 2018-06-12 23:58:56 +08:00
parent 4ca0a6bf8d
commit 1d049e5aaa
3 changed files with 4 additions and 4 deletions

View File

@ -25,8 +25,8 @@ import com.alibaba.fastjson.JSON;
* @
*
*/
@Component
@Aspect
//@Component
//@Aspect
public class EhcacheAspect {
private static final Logger logger = Logger.getLogger(EhcacheAspect.class);

View File

@ -9,9 +9,9 @@
<!-- 类注解缓存 -->
<cache name="eternalCache" maxElementsInMemory="10000" maxElementsOnDisk="1000" diskSpoolBufferSizeMB="20"
overflowToDisk="true" eternal="false" timeToIdleSeconds="300" timeToLiveSeconds="3600" memoryStoreEvictionPolicy="LFU"/>
<!-- 登录访问拦截权限缓存 -->
<!-- 登录访问拦截权限缓存
<cache name="sysAuthCache" maxElementsInMemory="10000" maxElementsOnDisk="1000" diskSpoolBufferSizeMB="20"
overflowToDisk="true" eternal="false" timeToIdleSeconds="300" timeToLiveSeconds="3600" memoryStoreEvictionPolicy="LFU"/>
overflowToDisk="true" eternal="false" timeToIdleSeconds="300" timeToLiveSeconds="3600" memoryStoreEvictionPolicy="LFU"/>-->
<!-- UI标签页面缓存 -->
<cache name="tagCache" maxElementsInMemory="10000" maxElementsOnDisk="1000" diskSpoolBufferSizeMB="20"
overflowToDisk="true" eternal="false" timeToIdleSeconds="300" timeToLiveSeconds="3600" memoryStoreEvictionPolicy="LFU"/>