margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 1 | <ehcache xsi:noNamespaceSchemaLocation="http://www.ehcache.org/ehcache.xsd" |
| 2 | updateCheck="true" monitoring="autodetect" dynamicConfig="true"> |
| 3 | |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 4 | <defaultCache eternal='true' overflowToDisk='false'/> |
| 5 | <!--maxBytesLocalHeap="200M"--> |
Michael Hanl | f1e85e7 | 2016-01-21 16:55:45 +0100 | [diff] [blame] | 6 | <diskStore path="./cache_store"/> |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 7 | |
margaretha | 064eb6f | 2018-07-10 18:33:01 +0200 | [diff] [blame] | 8 | |
| 9 | <!-- EM --> |
| 10 | <cache name='authorization' |
| 11 | timeToLiveSeconds="1000" |
| 12 | eternal='false' |
| 13 | memoryStoreEvictionPolicy="LRU" |
| 14 | maxEntriesLocalHeap="100" |
| 15 | overflowToDisk='false'/> |
| 16 | |
| 17 | <cache name='access_token' |
| 18 | timeToIdleSeconds="3600" |
| 19 | timeToLiveSeconds="15000" |
| 20 | eternal='false' |
| 21 | memoryStoreEvictionPolicy="LRU" |
| 22 | maxEntriesLocalHeap="500" |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 23 | overflowToDisk='false'/> |
| 24 | |
margaretha | 8b68221 | 2023-06-12 11:04:18 +0200 | [diff] [blame] | 25 | <!-- <cache name="named_vc" |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 26 | eternal="true" |
| 27 | memoryStoreEvictionPolicy="LRU" |
| 28 | maxBytesLocalHeap="256M" |
margaretha | 6f6911e | 2021-07-22 17:47:54 +0200 | [diff] [blame] | 29 | maxBytesLocalDisk="2G" |
margaretha | 1b32045 | 2018-08-02 16:56:25 +0200 | [diff] [blame] | 30 | diskExpiryThreadIntervalSeconds = "120" > |
| 31 | <persistence strategy="localTempSwap"/> |
margaretha | e1228ab | 2021-02-22 11:51:38 +0100 | [diff] [blame] | 32 | <sizeOfPolicy maxDepth="3000" maxDepthExceededBehavior="abort" /> |
margaretha | 8b68221 | 2023-06-12 11:04:18 +0200 | [diff] [blame] | 33 | </cache> --> |
Michael Hanl | 72c7b83 | 2015-09-03 08:42:15 +0200 | [diff] [blame] | 34 | </ehcache> |