2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 09:13:49 +08:00

feat: 移除内存优化

This commit is contained in:
耗子
2024-12-15 01:43:03 +08:00
parent 567b5ea82e
commit 7315b3d443

View File

@@ -2,7 +2,6 @@ package bootstrap
import (
"os"
"runtime/debug"
)
func boot() {
@@ -10,9 +9,6 @@ func boot() {
panic("panel must run as root")
}
debug.SetGCPercent(10)
debug.SetMemoryLimit(64 << 20)
initConf()
initGlobal()
initLogger()