summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2008-01-24 19:14:02 +0100
committerAndrew Dolgov <[email protected]>2008-01-24 19:14:02 +0100
commitb086fed42877dd306719bc4d6ae4170f31ccf49a (patch)
tree7cc36886e4bfc95c375d5ac19c026dec08aae260
parent2240601ccf4ff9e9a25a2bc71eb0d2d6f826c9ee (diff)
simplepie: increase fetch timeout to 20 sec
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 5ab98829c..cea42549d 100644
--- a/functions.php
+++ b/functions.php
@@ -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');