Return-Path: Delivered-To: apmail-cocoon-cvs-archive@www.apache.org Received: (qmail 14370 invoked from network); 4 Sep 2003 13:18:35 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 4 Sep 2003 13:18:35 -0000 Received: (qmail 338 invoked by uid 500); 4 Sep 2003 13:18:15 -0000 Delivered-To: apmail-cocoon-cvs-archive@cocoon.apache.org Received: (qmail 205 invoked by uid 500); 4 Sep 2003 13:18:14 -0000 Mailing-List: contact cvs-help@cocoon.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@cocoon.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cvs@cocoon.apache.org Received: (qmail 157 invoked by uid 500); 4 Sep 2003 13:18:13 -0000 Delivered-To: apmail-cocoon-2.1-cvs@apache.org Received: (qmail 146 invoked from network); 4 Sep 2003 13:18:13 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 4 Sep 2003 13:18:13 -0000 Received: (qmail 13978 invoked by uid 1546); 4 Sep 2003 13:18:13 -0000 Date: 4 Sep 2003 13:18:13 -0000 Message-ID: <20030904131813.13977.qmail@minotaur.apache.org> From: mpo@apache.org To: cocoon-2.1-cvs@apache.org Subject: cvs commit: cocoon-2.1/src/blocks/apples/java/org/apache/cocoon/components/flow/apples ApplesProcessor.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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());