diff options
author | Max Kostikov <max@kostikov.co> | 2019-11-25 17:51:28 +0100 |
---|---|---|
committer | Max Kostikov <max@kostikov.co> | 2019-11-25 17:51:28 +0100 |
commit | 5f1b2b4bf7eee1b5421afd6f3002929bd1d6cef0 (patch) | |
tree | 764eea2078e996989e319c734e14df7264902870 | |
parent | 271d280c91e188109c86a0ed91e6950194ae6396 (diff) | |
download | volse-hubzilla-5f1b2b4bf7eee1b5421afd6f3002929bd1d6cef0.tar.gz volse-hubzilla-5f1b2b4bf7eee1b5421afd6f3002929bd1d6cef0.tar.bz2 volse-hubzilla-5f1b2b4bf7eee1b5421afd6f3002929bd1d6cef0.zip |
Use cached embedded content use up to 30 days by default
-rw-r--r-- | Zotlabs/Lib/Cache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/Cache.php b/Zotlabs/Lib/Cache.php index 4bfb6dec7..878201a42 100644 --- a/Zotlabs/Lib/Cache.php +++ b/Zotlabs/Lib/Cache.php @@ -14,7 +14,7 @@ class Cache { $r = q("SELECT v FROM cache WHERE k = '%s' AND updated > %s - INTERVAL %s LIMIT 1", dbesc($hash), db_utcnow(), - db_quoteinterval(get_config('system','object_cache_days', '7') . ' DAY') + db_quoteinterval(get_config('system','object_cache_days', '30') . ' DAY') ); if ($r) |