cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davanum Srinivas <>
Subject Re: [c2] add timeout parameter to map:generator?
Date Tue, 15 May 2001 13:10:12 GMT

How about using the usual pattern for passing parameters? Am +1 on adding a timeout, but prefer
the pattern below:

    <map:match pattern="feeds/slashdot">
     <map:generate src="">
       <parameter name="timeout" value="5"/>


--- Donald Ball <> wrote:
> i just spent several minutes trying to track down what i thought was a
> caching or threading problem in c2 - one of my aggregating pages was
> taking a very long time to process, frequently timing out before it got to
> my browser. as it turns out, the problem was that the aggregate feed
> (slashdot) was taking a looooong time to return results. anyone opposed to
> adding a timeout parameter for content retrieved from an external source?
> e.g.
>    <map:match pattern="feeds/slashdot">
>     <map:generate src="" timeout="5"/>
>     <map:serialize/>
>    </map:match>
> giving slashdot 5 precious seconds to respond before simply ignoring the
> feed.
> - donald
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, email:

Davanum Srinivas, JNI-FAQ Manager

Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices

To unsubscribe, e-mail:
For additional commands, email:

View raw message