mirror of https://github.com/jeecgboot/jeecg
暂时注释掉Ehcache缓存拦截器(权限不缓存),降低内存溢出
parent
4ca0a6bf8d
commit
1d049e5aaa
|
@ -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"/>
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue