Subject: Default timeout when reading rss feeds is much too long

Posted on: 01/12/06 05:49pm
By: MMCM

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...

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=72349