Here's the diff to allow the cache timeout value to be configurable in the
TR.P file.

Index:
turbine/src/java/org/apache/turbine/services/resources/TurbineResources.java
===================================================================
RCS file:
/products/cvs/turbine/turbine/src/java/org/apache/turbine/services/resources
/TurbineResources.java,v
retrieving revision 1.7
diff -r1.7 TurbineResources.java
1c1
< package org.apache.turbine.services.resources;
---
> Package org.apache.turbine.services.resources;
119a120,121
>     public static final String CACHEDOBJECT_DEFAULTAGE_KEY =
"cachedobject.defaultage";
>       


Ernest
[EMAIL PROTECTED]


-----Original Message-----
From: Daniel Rall [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 30, 2000 1:43 PM
To: Turbine
Subject: Re: Turbine Cache Timeout


Ernest Ros <[EMAIL PROTECTED]> writes:

> Turbine's global cache is hard-coded with a 30-minute timeout value.  In
> order to make this value configurable, we've added a change in Turbine's
> TurbineResources.java file so that this value can be read from it's
> .properties file.  We have the CVS diff if anyone would like to submit
this
> for us.
> 
> Ernest 
> [EMAIL PROTECTED]

Please submit your patch.

Daniel


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?:           [EMAIL PROTECTED]

Reply via email to