cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples ApplesProcessor.java
Date Thu, 04 Sep 2003 13:18:13 GMT
mpo         2003/09/04 06:18:13

  Modified:    src/blocks/apples/java/org/apache/cocoon/components/flow/apples
                        ApplesProcessor.java
  Log:
  Let Timetolive for Apples be controlled by the default timetolive of the ContinuationsManagerImpl
  
  Revision  Changes    Path
  1.7       +1 -4      cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java
  
  Index: ApplesProcessor.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples/ApplesProcessor.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ApplesProcessor.java	3 Sep 2003 11:44:51 -0000	1.6
  +++ ApplesProcessor.java	4 Sep 2003 13:18:13 -0000	1.7
  @@ -67,9 +67,6 @@
    */
   public class ApplesProcessor extends AbstractInterpreter implements Serviceable, ContinuationsDisposer
{
   
  -    //TODO make this a configuration setting
  -    public static final int TIMETOLIVE = 1800000; // 30 minutes
  -
   
       private ServiceManager serviceManager;
   
  @@ -82,7 +79,7 @@
   
           AppleController app = instantiateController(className);
   
  -        WebContinuation wk = this.continuationsMgr.createWebContinuation(app, null, TIMETOLIVE,
this);
  +        WebContinuation wk = this.continuationsMgr.createWebContinuation(app, null, 0,
this);
   
           DefaultContext appleContext = new DefaultContext();
           appleContext.put("continuation-id", wk.getId());
  
  
  

Mime
View raw message