From 7315b3d4431b48a645c9b4a7485afeea09bf2404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Sun, 15 Dec 2024 01:43:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=A7=BB=E9=99=A4=E5=86=85=E5=AD=98?= =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/bootstrap/app.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/internal/bootstrap/app.go b/internal/bootstrap/app.go index 907d5a15..f0b5cafe 100644 --- a/internal/bootstrap/app.go +++ b/internal/bootstrap/app.go @@ -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()