Skip to content

Commit

Permalink
ehcache文件自定义目录不生效,加入静态根路径
Browse files Browse the repository at this point in the history
  • Loading branch information
lcg0124 committed Oct 19, 2018
1 parent 4d22a5d commit 6292791
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions bootdo/src/main/resources/ehcache.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd"
updateCheck="false">
<diskStore path="java.io.tmpdir/Tmp_EhCache"/>
<defaultCache eternal="false" maxElementsInMemory="1000"
overflowToDisk="false" diskPersistent="false" timeToIdleSeconds="0"
timeToLiveSeconds="600" memoryStoreEvictionPolicy="LRU"/>
<cache name="user" eternal="false" maxElementsInMemory="10000"
overflowToDisk="false" diskPersistent="false" timeToIdleSeconds="0"
timeToLiveSeconds="0" memoryStoreEvictionPolicy="LFU"/>
</ehcache>

0 comments on commit 6292791

Please sign in to comment.