From: Andrew Dolgov Date: Mon, 4 Jan 2016 07:42:24 +0000 (+0300) Subject: do not automatically call cleanup_tags() in housekeeping tasks X-Git-Tag: 16.3~63 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;ds=sidebyside;h=9b736a20b3367da2b58a279024ae6f8e39b1e41a;p=tt-rss.git do not automatically call cleanup_tags() in housekeeping tasks --- diff --git a/classes/rpc.php b/classes/rpc.php index 1c733ffc..d8f2088e 100755 --- a/classes/rpc.php +++ b/classes/rpc.php @@ -550,7 +550,7 @@ class RPC extends Handler_Protected { // Purge orphans and cleanup tags purge_orphans(); - cleanup_tags(14, 50000); + //cleanup_tags(14, 50000); if ($num_updated > 0) { print json_encode(array("message" => "UPDATE_COUNTERS", diff --git a/include/rssfuncs.php b/include/rssfuncs.php index 380960bd..f13ac36d 100755 --- a/include/rssfuncs.php +++ b/include/rssfuncs.php @@ -1520,9 +1520,9 @@ purge_orphans( true); cleanup_counters_cache($debug); - $rc = cleanup_tags( 14, 50000); - _debug("Cleaned $rc cached tags."); + //$rc = cleanup_tags( 14, 50000); + //_debug("Cleaned $rc cached tags."); PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", "");