diff options
| author | 2013-11-09 15:20:27 +0100 | |
|---|---|---|
| committer | 2013-11-09 15:20:27 +0100 | |
| commit | f1ae155a3c15c7c04e212d76fca465bb464aa988 (patch) | |
| tree | 86bb1e805f0b1c2cb5f9e408a231bfea727bb759 /app | |
| parent | b045e2c041a4f4f2c3bb774945cd5a5a34a26f0a (diff) | |
Réduction durée cache SimplePie
Réduction de la durée du cache SimplePie pour pouvoir plus facilement
choisir la fréquence de rafraîchissement par Cron.
Serait peut-être mieux ailleurs.
Contribue à https://github.com/marienfressinaud/FreshRSS/issues/250
Diffstat (limited to 'app')
| -rw-r--r-- | app/models/Feed.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/Feed.php b/app/models/Feed.php index 3877c5b33..7f53d7be8 100644 --- a/app/models/Feed.php +++ b/app/models/Feed.php @@ -201,6 +201,7 @@ class Feed extends Model { $feed->set_feed_url ($url); $feed->set_cache_location (CACHE_PATH); + $feed->set_cache_duration(1500); $feed->strip_htmltags (array ( 'base', 'blink', 'body', 'doctype', 'font', 'form', 'frame', 'frameset', 'html', |
