diff options
author | Mario <mario@mariovavti.com> | 2021-01-27 10:23:59 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2021-01-27 10:23:59 +0000 |
commit | a2728167bc6431ddfca7c4873e05d70fc0937f7e (patch) | |
tree | 0cb6fa3ceaaefe188fda22591659f8b13693ac5e /include | |
parent | 7cd4f6092220b7da72af72b73320ffc28b8397b4 (diff) | |
parent | 6326605c99a207a76626c681964a851b4d7c44cb (diff) | |
download | volse-hubzilla-a2728167bc6431ddfca7c4873e05d70fc0937f7e.tar.gz volse-hubzilla-a2728167bc6431ddfca7c4873e05d70fc0937f7e.tar.bz2 volse-hubzilla-a2728167bc6431ddfca7c4873e05d70fc0937f7e.zip |
Merge branch 'dev' into 'dev'
Rebuild public tags cloud not often than once per 5 mins.
See merge request hubzilla/core!1900
Diffstat (limited to 'include')
-rw-r--r-- | include/taxonomy.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/taxonomy.php b/include/taxonomy.php index 88d0a9196..7745b6a5b 100644 --- a/include/taxonomy.php +++ b/include/taxonomy.php @@ -357,10 +357,10 @@ function pub_tagadelic($net,$site,$limit,$recent,$safemode,$type) { $key = __FUNCTION__ . "-" . md5($site . $recent . $safemode . $limit . $type); - $content = Cache::get($key, '1 MINUTE'); + $content = Cache::get($key, '5 MINUTE'); if(! $content) { - $content = Cache::get($key, '1 WEEK'); + $content = Cache::get($key, '1 MONTH'); $arr = [ "SELECT term, count(term) AS total FROM term LEFT JOIN item ON term.oid = item.id WHERE term.ttype = %d |