summaryrefslogtreecommitdiff
path: root/constants.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 /constants.php
parentb5969494f910fd655342fe949d336a4b136523f3 (diff)
defined('CLEANCACHE_HOURS') (#5144)
https://github.com/FreshRSS/FreshRSS/issues/4627
Diffstat (limited to 'constants.php')
-rw-r--r--constants.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/constants.php b/constants.php
index a8ac6e5ac..b4c129e87 100644
--- a/constants.php
+++ b/constants.php
@@ -57,3 +57,6 @@ defined('EXTENSIONS_PATH') or define('EXTENSIONS_PATH', FRESHRSS_PATH . '/extens
//Directory used for feed mutex with *.freshrss.lock files. Must be writable.
defined('TMP_PATH') or define('TMP_PATH', sys_get_temp_dir());
+
+//clean the chacke after x hours (720 hours = 30 days)
+defined('CLEANCACHE_HOURS') or define('CLEANCACHE_HOURS', 720);