Skip to content

Commit

Permalink
Use default GOMAXPROCS behavior (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwaynecarr authored Mar 7, 2022
1 parent 58acf59 commit 05a57a5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/microshift/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
"fmt"
"math/rand"
"os"
"runtime"
"time"

"github.com/spf13/cobra"
Expand All @@ -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)
Expand Down

0 comments on commit 05a57a5

Please sign in to comment.