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

jeecg_3.7.6
zhangdaihao 6 years ago
parent c8ba0b77ef
commit 52ca253f4c

@ -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);

@ -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"/>

Loading…
Cancel
Save