do not automatically call cleanup_tags() in housekeeping tasks
This commit is contained in:
parent
2dde1e2109
commit
9b736a20b3
|
@ -550,7 +550,7 @@ class RPC extends Handler_Protected {
|
||||||
|
|
||||||
// Purge orphans and cleanup tags
|
// Purge orphans and cleanup tags
|
||||||
purge_orphans();
|
purge_orphans();
|
||||||
cleanup_tags(14, 50000);
|
//cleanup_tags(14, 50000);
|
||||||
|
|
||||||
if ($num_updated > 0) {
|
if ($num_updated > 0) {
|
||||||
print json_encode(array("message" => "UPDATE_COUNTERS",
|
print json_encode(array("message" => "UPDATE_COUNTERS",
|
||||||
|
|
|
@ -1520,9 +1520,9 @@
|
||||||
|
|
||||||
purge_orphans( true);
|
purge_orphans( true);
|
||||||
cleanup_counters_cache($debug);
|
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", "");
|
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_HOUSE_KEEPING, "hook_house_keeping", "");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue