do not automatically call cleanup_tags() in housekeeping tasks

master
Andrew Dolgov 9 years ago
parent 2dde1e2109
commit 9b736a20b3

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

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

Loading…
Cancel
Save