Remove GOGC trick

This commit is contained in:
Leonid Bugaev
2021-07-07 02:24:48 +03:00
parent 724c0890c9
commit af19f0feb8
-4
View File
@@ -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" {