cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject [c2] add timeout parameter to map:generator?
Date Mon, 14 May 2001 19:48:37 GMT
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="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


Mime
View raw message