summaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar maTh <math-home@web.de> 2023-03-04 13:46:46 +0100
committerGravatar GitHub <noreply@github.com> 2023-03-04 13:46:46 +0100
commita7e14284855cc49ba3e85ca3e549845e6b5c693b (patch)
treefb3f4256baf33ca7533705e66d1416b26e807206 /lib/lib_rss.php
parentb5969494f910fd655342fe949d336a4b136523f3 (diff)
defined('CLEANCACHE_HOURS') (#5144)
https://github.com/FreshRSS/FreshRSS/issues/4627
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 434d0f9fb..76e7b92cd 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -434,7 +434,7 @@ function httpGet(string $url, string $cachePath, string $type = 'html', array $a
}
if (mt_rand(0, 30) === 1) { // Remove old entries once in a while
- cleanCache();
+ cleanCache(CLEANCACHE_HOURS);
}
if (FreshRSS_Context::$system_conf->simplepie_syslog_enabled) {