mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:25:57 +00:00
do not apply magpie timeout override on simplepie
This commit is contained in:
@@ -486,7 +486,7 @@
|
||||
|
||||
$rss = new SimplePie();
|
||||
$rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
|
||||
$rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
// $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
$rss->set_feed_url($fetch_url);
|
||||
$rss->set_output_encoding('UTF-8');
|
||||
|
||||
@@ -3338,7 +3338,7 @@
|
||||
if (ENABLE_SIMPLEPIE) {
|
||||
$rss = new SimplePie();
|
||||
$rss->set_useragent(SIMPLEPIE_USERAGENT . MAGPIE_USER_AGENT_EXT);
|
||||
$rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
// $rss->set_timeout(MAGPIE_FETCH_TIME_OUT);
|
||||
$rss->set_feed_url($fetch_url);
|
||||
$rss->set_output_encoding('UTF-8');
|
||||
$rss->init();
|
||||
|
||||
Reference in New Issue
Block a user