fix: 可用模式不自动开启检测buffer

This commit is contained in:
Akizon77
2025-09-06 06:30:17 +00:00
parent b2860fbfb0
commit c6d3754938

View File

@@ -68,7 +68,7 @@ func Execute() {
break
}
if arg == "-memory-mode-available" || arg == "--memory-mode-available" {
flags.MemoryIncludeCache = true
//flags.MemoryIncludeCache = true
log.Println("WARNING: The --memory-mode-available flag is deprecated in version 1.0.70 and later. Use --memory-include-cache to report memory usage including cache/buffer.")
os.Args = append(os.Args[:i], os.Args[i+1:]...)
}