Welcome to Geeklog, Anonymous Tuesday, November 26 2024 @ 05:40 pm EST
Geeklog Forums
Default timeout when reading rss feeds is much too long
When the site containing the feeds is down, is takes a veeeeery long time to display anything beyond a blank page.
My suggestion:
Add a timeout parameter to the _getFeed function in /system/classes/syndication/parserfactory.class.php
function _getFeed( $url )
{
$req =& new HTTP_Request($url, array('allowRedirects' => true, 'timeout' => 3));
The optimum timeout value is still to be determined...
My suggestion:
Add a timeout parameter to the _getFeed function in /system/classes/syndication/parserfactory.class.php
function _getFeed( $url )
{
$req =& new HTTP_Request($url, array('allowRedirects' => true, 'timeout' => 3));
The optimum timeout value is still to be determined...
10
12
Quote
All times are EST. The time is now 05:40 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content