(Scott Phillips) patch to prevent cocoon's cache from filling up your tomcat work directory with caches that will never be used.

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2776 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Scott Phillips
2008-03-03 22:06:44 +00:00
parent da996aa6e1
commit 0cb094ebd6
2 changed files with 8 additions and 7 deletions

View File

@@ -460,11 +460,11 @@
| in the cache will be thrown out.
+-->
<store logger="core.store">
<parameter name="maxobjects" value="1000"/>
<parameter name="maxobjects" value="10000"/>
<parameter name="eternal" value="false"/>
<parameter name="timeToLiveSeconds" value="86400"/> <!-- 24 hours -->
<parameter name="timeToIdleSeconds" value="10800"/> <!-- 3 hours -->
<parameter name="overflow-to-disk" value="true"/>
<parameter name="timeToIdleSeconds" value="10800"/> <!-- 3 hours -->
<parameter name="overflow-to-disk" value="false"/>
<parameter name="diskpersistent" value="false"/>
</store>

View File

@@ -149,10 +149,11 @@
<!-- ehcache -->
<dependency>
<groupId>org.dspace.xmlui.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>1.1</version>
</dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache</artifactId>
<version>1.4.1</version>
</dependency>
<!-- excalibur -->
<dependency>