Welcome to Geeklog, Anonymous Thursday, September 28 2023 @ 01:43 am EDT

Geeklog Forums

Default timeout when reading rss feeds is much too long

Status: offline


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

All times are EDT. The time is now 01:43 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