From af19f0feb8f311539f2056820df111645fda02f8 Mon Sep 17 00:00:00 2001 From: Leonid Bugaev Date: Wed, 7 Jul 2021 02:24:48 +0300 Subject: [PATCH] Remove GOGC trick --- gor.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gor.go b/gor.go index da0fd1f..b2af768 100644 --- a/gor.go +++ b/gor.go @@ -40,10 +40,6 @@ func main() { runtime.GOMAXPROCS(runtime.NumCPU() * 2) } - if os.Getenv("GOGC") == "" { - debug.SetGCPercent(500) - } - args := os.Args[1:] var plugins *InOutPlugins if len(args) > 0 && args[0] == "file-server" {