diff options
Diffstat (limited to 'archiva-modules/metadata/metadata-repository-api/src/main/resources/META-INF')
-rw-r--r-- | archiva-modules/metadata/metadata-repository-api/src/main/resources/META-INF/spring-context.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/archiva-modules/metadata/metadata-repository-api/src/main/resources/META-INF/spring-context.xml b/archiva-modules/metadata/metadata-repository-api/src/main/resources/META-INF/spring-context.xml index 06b3213a5..6f4964fa4 100644 --- a/archiva-modules/metadata/metadata-repository-api/src/main/resources/META-INF/spring-context.xml +++ b/archiva-modules/metadata/metadata-repository-api/src/main/resources/META-INF/spring-context.xml @@ -41,11 +41,13 @@ <bean name="cache#namespaces" class="org.apache.archiva.components.cache.ehcache.EhcacheCache" init-method="initialize"> + <constructor-arg index="0" value="java.lang.String" /> + <constructor-arg index="1" value="java.util.ArrayList"/> <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="name" value="namespaces"/> <property name="timeToIdleSeconds" value="600"/> <property name="timeToLiveSeconds" value="600"/> </bean> |