From 05a57a5e75cf74199d98d55769f454fdd2ed71a9 Mon Sep 17 00:00:00 2001 From: Derek Carr Date: Mon, 7 Mar 2022 17:36:20 -0500 Subject: [PATCH] Use default GOMAXPROCS behavior (#621) --- cmd/microshift/main.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cmd/microshift/main.go b/cmd/microshift/main.go index f01aeceddcd..0b2ddbf2c1a 100644 --- a/cmd/microshift/main.go +++ b/cmd/microshift/main.go @@ -4,7 +4,6 @@ import ( "fmt" "math/rand" "os" - "runtime" "time" "github.com/spf13/cobra" @@ -24,10 +23,6 @@ func main() { logs.InitLogs() defer logs.FlushLogs() - if len(os.Getenv("GOMAXPROCS")) == 0 { - runtime.GOMAXPROCS(runtime.NumCPU()) - } - command := newCommand() if err := command.Execute(); err != nil { fmt.Fprintf(os.Stderr, "%v\n", err)