diff options
author | Mario <mario@mariovavti.com> | 2024-01-28 17:03:05 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-01-28 17:03:05 +0000 |
commit | 09465619e53c9c0a04ee73cecc3fc2d87ee74d55 (patch) | |
tree | 1de11b57339b770c4fffc166c0feb7fb702a4cb5 /Zotlabs/Daemon/Cron_daily.php | |
parent | 390af7722df44dbfe4754f6814940d90774f5d15 (diff) | |
download | volse-hubzilla-09465619e53c9c0a04ee73cecc3fc2d87ee74d55.tar.gz volse-hubzilla-09465619e53c9c0a04ee73cecc3fc2d87ee74d55.tar.bz2 volse-hubzilla-09465619e53c9c0a04ee73cecc3fc2d87ee74d55.zip |
enable object cash by default, introduce system.cache_expire_days and default to 7, default system.default_expire_days to 30 and system.active_expire_days to 7
Diffstat (limited to 'Zotlabs/Daemon/Cron_daily.php')
-rw-r--r-- | Zotlabs/Daemon/Cron_daily.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Daemon/Cron_daily.php b/Zotlabs/Daemon/Cron_daily.php index 850d38229..98379be1b 100644 --- a/Zotlabs/Daemon/Cron_daily.php +++ b/Zotlabs/Daemon/Cron_daily.php @@ -65,10 +65,10 @@ class Cron_daily { } } - // Clean up emdedded content cache + // Clean up cache q("DELETE FROM cache WHERE updated < %s - INTERVAL %s", db_utcnow(), - db_quoteinterval(get_config('system', 'active_expire_days', '30') . ' DAY') + db_quoteinterval(get_config('system', 'cache_expire_days', 7) . ' DAY') ); //update statistics in config |