]> git.mjollnir.org Git - moodle.git/commit
blocks/rss_client: MDL-13932 Incease timeout when adding feeds
authorpoltawski <poltawski>
Fri, 31 Jul 2009 21:19:55 +0000 (21:19 +0000)
committerpoltawski <poltawski>
Fri, 31 Jul 2009 21:19:55 +0000 (21:19 +0000)
commit5966474298d37e34b37c140881425a334df75906
tree998339366003b2681ee3fdd9ec1d3e7507c23640
parent6d2382b6d7edce9efd54643513e569387a6df86a
blocks/rss_client: MDL-13932 Incease timeout when adding feeds

In order to stop 'slow loading feeds' causing performance problems
with standard moodle pages, i've set the timeout for simplepie quite
low. When cron runs i've set this timeout high and cache duration low.

The intention is that cron does all the hard work of connecting to remote
sites and users get this fast fast fast from cache.

However, in the case of adding a feed its probably better to try and get the
feed more agressively..
blocks/rss_client/editfeed.php