blob: 077e2601f5864e819b93a234f58bc0606f7b7ef5 [file] [log] [blame]
<ehcache
xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd"
updateCheck="true" monitoring="autodetect" dynamicConfig="true">
<defaultCache eternal='true' overflowToDisk='false' />
<!--maxBytesLocalHeap="200M" -->
<diskStore path="./cache_store" />
<!-- EM -->
<cache name='authorization' timeToLiveSeconds="1000"
eternal='false' memoryStoreEvictionPolicy="LRU"
maxEntriesLocalHeap="100" overflowToDisk='false' />
<cache name='access_token' timeToIdleSeconds="3600"
timeToLiveSeconds="15000" eternal='false'
memoryStoreEvictionPolicy="LRU" maxEntriesLocalHeap="500"
overflowToDisk='false' />
<!-- <cache name="named_vc" eternal="true" memoryStoreEvictionPolicy="LRU"
maxBytesLocalHeap="256M" maxBytesLocalDisk="2G" diskExpiryThreadIntervalSeconds
= "120" > <persistence strategy="localTempSwap"/> <sizeOfPolicy maxDepth="3000"
maxDepthExceededBehavior="abort" /> -->
<cache name="total_results" timeToIdleSeconds="3600"
timeToLiveSeconds="15000" eternal='false'
memoryStoreEvictionPolicy="LRU" overflowToDisk='false'
maxEntriesLocalHeap="500" />
</ehcache>