mirror of
https://github.com/mitb-archive/filebot
synced 2024-12-25 17:28:51 -05:00
63 lines
1.5 KiB
XML
63 lines
1.5 KiB
XML
<ehcache xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ehcache.xsd" updateCheck="false">
|
|
<!--
|
|
Persistent disk store location
|
|
-->
|
|
<diskStore path="ehcache.disk.store.dir" />
|
|
|
|
<!--
|
|
Mandatory Default Cache configuration. These settings will be applied to caches
|
|
created pragmatically using CacheManager.add(String cacheName)
|
|
-->
|
|
<defaultCache
|
|
maxElementsInMemory="100"
|
|
eternal="false"
|
|
timeToIdleSeconds="120"
|
|
timeToLiveSeconds="120"
|
|
overflowToDisk="false"
|
|
diskPersistent="false"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Long-lived (2 days) persistent disk cache for web responses
|
|
-->
|
|
<cache name="web-datasource"
|
|
maxElementsInMemory="200"
|
|
maxElementsOnDisk="10000"
|
|
eternal="false"
|
|
timeToIdleSeconds="172800"
|
|
timeToLiveSeconds="172800"
|
|
overflowToDisk="true"
|
|
diskPersistent="true"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Very long-lived cache (2 months) anime/series lists, movie index, etc
|
|
-->
|
|
<cache name="web-persistent-datasource"
|
|
maxElementsInMemory="50"
|
|
maxElementsOnDisk="5000"
|
|
eternal="false"
|
|
timeToIdleSeconds="5259000"
|
|
timeToLiveSeconds="5259000"
|
|
overflowToDisk="true"
|
|
diskPersistent="true"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
<!--
|
|
Simple memory cache for calculated checksums. Time to live is 2 hours.
|
|
-->
|
|
<cache name="checksum"
|
|
maxElementsInMemory="5000"
|
|
eternal="false"
|
|
timeToIdleSeconds="7200"
|
|
timeToLiveSeconds="7200"
|
|
overflowToDisk="false"
|
|
diskPersistent="false"
|
|
memoryStoreEvictionPolicy="LRU"
|
|
/>
|
|
|
|
</ehcache>
|