do not automatically call cleanup_tags() in housekeeping tasks

This commit is contained in:
Andrew Dolgov 2016-01-04 10:42:24 +03:00
parent 2dde1e2109
commit 9b736a20b3
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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", "");