Quellcode durchsuchen

do not automatically call cleanup_tags() in housekeeping tasks

Andrew Dolgov vor 8 Jahren
Ursprung
Commit
9b736a20b3
2 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 1 1
      classes/rpc.php
  2. 2 2
      include/rssfuncs.php

+ 1 - 1
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",

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