Welcome to Geeklog, Anonymous Thursday, April 25 2024 @ 10:56 am EDT

Geeklog Forums

Default timeout when reading rss feeds is much too long


Status: offline

MMCM

Forum User
Newbie
Registered: 12/01/06
Posts: 1
sad
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...
 Quote

All times are EDT. The time is now 10:56 am.

  • 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