Changeset 27131

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

use longer timeout for RSS fetch

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 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