cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From giacomo <giac...@apache.org>
Subject Re: [c2] add timeout parameter to map:generator?
Date Tue, 15 May 2001 19:45:40 GMT


On Mon, 14 May 2001, 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?

No, not opposing.

Giacomo

> e.g.
>
>    <map:match pattern="feeds/slashdot">
>     <map:generate src="http://slashdot.org/slashdot.xml" timeout="5"/>
>     <map:serialize/>
>    </map:match>
>
> giving slashdot 5 precious seconds to respond before simply ignoring the
> feed.
>
> - donald
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org
>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message