]> source.dussan.org Git - archiva.git/commitdiff
Specify using separate caches for different data items (users, keys, namespaces) 15/head
authorAndrey Sysoev <inoone@list.ru>
Tue, 17 Feb 2015 16:11:31 +0000 (20:11 +0400)
committerAndrey Sysoev <inoone@list.ru>
Tue, 17 Feb 2015 16:11:31 +0000 (20:11 +0400)
archiva-modules/archiva-web/archiva-webapp/src/main/webapp/WEB-INF/applicationContext.xml

index 17bf30c81448826363b3d839be8e0252daa66d6d..e11370579ade9ef8942aff9ee5408dfea3c79693 100644 (file)
     <property name="eternal" value="false"/>
     <property name="maxElementsInMemory" value="1000"/>
     <property name="memoryEvictionPolicy" value="LRU"/>
-    <property name="name" value="usersCache"/>
+    <property name="name" value="keys"/>
     <property name="timeToIdleSeconds" value="1800"/>
     <property name="timeToLiveSeconds" value="14400"/>
   </bean>
     <property name="eternal" value="false"/>
     <property name="maxElementsInMemory" value="1000"/>
     <property name="memoryEvictionPolicy" value="LRU"/>
-    <property name="name" value="usersCache"/>
+    <property name="name" value="namespaces"/>
     <property name="timeToIdleSeconds" value="600"/>
     <property name="timeToLiveSeconds" value="600"/>
   </bean>