Changeset 17969

Show
Ignore:
Timestamp:
10/06/08 14:36:50 (2 months ago)
Author:
bergie
Message:

Go for higher timeout

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/net.nemein.rss/magpierss/rss_fetch.inc

    r14234 r17969  
    386386     
    387387    if ( !defined('MAGPIE_FETCH_TIME_OUT') ) { 
    388         define('MAGPIE_FETCH_TIME_OUT', 5); // 5 second timeout 
     388        define('MAGPIE_FETCH_TIME_OUT', 10); // 5 second timeout 
    389389    } 
    390390     
  • trunk/midcom/org.openpsa.httplib/Snoopy.php

    r14084 r17969  
    122122    var $_fp_timeout    =    30;                    // timeout for socket connection 
    123123 
    124     function Snoopy() 
     124    function __construct() 
    125125    { 
    126126        $this->proxy_host = $GLOBALS['midcom_component_data']['org.openpsa.httplib']['config']->get('proxy_host'); 
     
    766766    function _check_timeout($fp) 
    767767    { 
    768         if ($this->read_timeout > 0) { 
     768        if ($this->read_timeout > 0)  
     769        { 
    769770            $fp_status = socket_get_status($fp); 
    770771            if ($fp_status["timed_out"]) {