diff options
| author | 2014-10-05 20:27:16 +0200 | |
|---|---|---|
| committer | 2014-10-05 20:27:16 +0200 | |
| commit | 6c1fe11395c86f71397629b2ab269e26ee63566c (patch) | |
| tree | 7e90c974c45d672c0744b25bb8640ec561cbdcc6 /lib/lib_rss.php | |
| parent | d8f4681382986524b91acb0500847e9f24badf20 (diff) | |
SimplePie timeout preference
https://github.com/marienfressinaud/FreshRSS/issues/656
TODO: Make a user setting
Diffstat (limited to 'lib/lib_rss.php')
| -rw-r--r-- | lib/lib_rss.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php index 4f6beb9fd..2f9a2ea45 100644 --- a/lib/lib_rss.php +++ b/lib/lib_rss.php @@ -110,6 +110,7 @@ function customSimplePie() { $simplePie->set_useragent(_t('freshrss') . '/' . FRESHRSS_VERSION . ' (' . PHP_OS . '; ' . FRESHRSS_WEBSITE . ') ' . SIMPLEPIE_NAME . '/' . SIMPLEPIE_VERSION); $simplePie->set_cache_location(CACHE_PATH); $simplePie->set_cache_duration(800); + $simplePie->set_timeout(10); //TODO: Make a user setting $simplePie->strip_htmltags(array( 'base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', |
