Changeset 27131


Ignore:
Timestamp:
01/16/12 13:06:41 (4 years ago)
Author:
rambo
Message:

use longer timeout for RSS fetch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/ragnaroek/midcom/net.nemein.rss/magpierss/rss_fetch.inc

    r26852 r27131  
    9999        // fetch file, and parse it
    100100        $resp = _fetch_remote_file( $url );
    101 
    102101        if ( is_success( $resp->status ) ) {
    103102            return _response_to_rss( $resp );
     
    384383   
    385384    if ( !defined('MAGPIE_FETCH_TIME_OUT') ) {
    386         define('MAGPIE_FETCH_TIME_OUT', 10); // 5 second timeout
     385        define('MAGPIE_FETCH_TIME_OUT', 30); // 30 second timeout
    387386    }
    388387   
Note: See TracChangeset for help on using the changeset viewer.