mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
ehcache.xml placeholder
This commit is contained in:
22
src/main/resources/ehcache.xml
Normal file
22
src/main/resources/ehcache.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?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" monitoring="autodetect" dynamicConfig="false"
|
||||
maxBytesLocalHeap="400M" maxBytesLocalOffHeap="2G">
|
||||
|
||||
<diskStore path="java.io.tmpdir" />
|
||||
|
||||
<defaultCache maxEntriesLocalHeap="10000" eternal="false"
|
||||
timeToIdleSeconds="120" timeToLiveSeconds="120" maxEntriesLocalDisk="10000000"
|
||||
diskExpiryThreadIntervalSeconds="120" memoryStoreEvictionPolicy="LRU">
|
||||
<persistence strategy="localTempSwap" />
|
||||
</defaultCache>
|
||||
<!--
|
||||
<cache name="com.commafeed.backend.model.Feed"
|
||||
maxEntriesLocalHeap="100000" maxEntriesLocalDisk="1000" eternal="false"
|
||||
diskSpoolBufferSizeMB="20" timeToIdleSeconds="300" timeToLiveSeconds="600"
|
||||
memoryStoreEvictionPolicy="LFU" transactionalMode="off">
|
||||
<persistence strategy="localTempSwap" />
|
||||
</cache>
|
||||
-->
|
||||
</ehcache>
|
||||
Reference in New Issue
Block a user