]> git.wh0rd.org - tt-rss.git/commitdiff
simplepie: increase fetch timeout to 20 sec
authorAndrew Dolgov <fox@bah.spb.su>
Thu, 24 Jan 2008 18:14:02 +0000 (19:14 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Thu, 24 Jan 2008 18:14:02 +0000 (19:14 +0100)
functions.php

index 5ab98829c0a9f2f41866d3e11f4e5de1c1f69351..cea42549d0013e8737b417c32bc033f717a30be3 100644 (file)
 
                        $rss = new SimplePie();
                        $rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
-//                     $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
+                       $rss->set_timeout(20);
                        $rss->set_feed_url($fetch_url);
                        $rss->set_output_encoding('UTF-8');