mirror of https://github.com/apache/archiva.git
add bean declaration of cache#users in applicationContext.xml to ease change
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1424690 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
5e4827a1b6
commit
e3c7748075
|
@ -149,6 +149,17 @@
|
||||||
<property name="resource" value="archiva-mime-types.txt"/>
|
<property name="resource" value="archiva-mime-types.txt"/>
|
||||||
</bean>
|
</bean>
|
||||||
-->
|
-->
|
||||||
|
<!-- for change configuration of the users cache -->
|
||||||
|
<bean name="cache#users" class="org.apache.archiva.redback.components.cache.ehcache.EhcacheCache"
|
||||||
|
init-method="initialize">
|
||||||
|
<property name="diskPersistent" value="false"/>
|
||||||
|
<property name="eternal" value="false"/>
|
||||||
|
<property name="maxElementsInMemory" value="1000"/>
|
||||||
|
<property name="memoryEvictionPolicy" value="LRU"/>
|
||||||
|
<property name="name" value="usersCache"/>
|
||||||
|
<property name="timeToIdleSeconds" value="1800"/>
|
||||||
|
<property name="timeToLiveSeconds" value="14400"/>
|
||||||
|
</bean>
|
||||||
|
|
||||||
<!-- override jcr repository location -->
|
<!-- override jcr repository location -->
|
||||||
<!-- START SNIPPET: jcr-location -->
|
<!-- START SNIPPET: jcr-location -->
|
||||||
|
|
Loading…
Reference in New Issue