]> source.dussan.org Git - archiva.git/blob
b662206124dd5a00fb3a46a0eb9d47a72a0689a4
[archiva.git] /
1 <component-set>
2   <components>
3     <component>
4       <role>org.codehaus.plexus.cache.Cache</role>
5       <role-hint>url-failures-cache</role-hint>
6       <implementation>org.codehaus.plexus.cache.ehcache.EhcacheCache</implementation>
7       <description>URL Failure Cache</description>
8       <configuration>
9         <disk-expiry-thread-interval-seconds>600</disk-expiry-thread-interval-seconds>
10         <disk-persistent>true</disk-persistent>
11         <disk-store-path>${java.io.tmpdir}/archiva/urlcache</disk-store-path>
12         <eternal>false</eternal>
13         <max-elements-in-memory>1000</max-elements-in-memory>
14         <memory-eviction-policy>LRU</memory-eviction-policy>
15         <name>url-failures-cache</name>
16         <overflow-to-disk>false</overflow-to-disk>
17         <!-- 45 minutes = 2700 seconds -->
18         <time-to-idle-seconds>2700</time-to-idle-seconds>
19         <!-- 30 minutes = 1800 seconds  -->
20         <time-to-live-seconds>1800</time-to-live-seconds>
21       </configuration>
22     </component>
23   </components>
24 </component-set>