系统缓存时间最大一小时。
This commit is contained in:
2
src/main/resources/cache/ehcache-local.xml
vendored
2
src/main/resources/cache/ehcache-local.xml
vendored
@@ -8,7 +8,7 @@
|
||||
overflowToDisk="true" maxEntriesLocalDisk="100000" />
|
||||
|
||||
<!-- 系统缓存 -->
|
||||
<cache name="sysCache" maxEntriesLocalHeap="100" eternal="true" overflowToDisk="true"/>
|
||||
<cache name="sysCache" maxEntriesLocalHeap="100" eternal="false" timeToIdleSeconds="300" timeToLiveSeconds="6000" overflowToDisk="true"/>
|
||||
|
||||
<!-- 用户缓存 -->
|
||||
<cache name="userCache" maxEntriesLocalHeap="100" eternal="true" overflowToDisk="true"/>
|
||||
|
||||
Reference in New Issue
Block a user