simplepie: increase fetch timeout to 20 sec
This commit is contained in:
parent
2240601ccf
commit
b086fed428
|
@ -543,7 +543,7 @@
|
|||
|
||||
$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');
|
||||
|
||||
|
|
Loading…
Reference in New Issue