Browse Source

Remove call to set GOMAXPROCS (#4010)

* Remove call to set GOMAXPROCS

* Remove runtime import
Aaron Wood 8 years ago
parent
commit
64788ffff6
1 changed files with 0 additions and 2 deletions
  1. 0 2
      gogs.go

+ 0 - 2
gogs.go

@@ -9,7 +9,6 @@ package main
 
 import (
 	"os"
-	"runtime"
 
 	"github.com/urfave/cli"
 
@@ -20,7 +19,6 @@ import (
 const APP_VER = "0.9.115.0103"
 
 func init() {
-	runtime.GOMAXPROCS(runtime.NumCPU())
 	setting.AppVer = APP_VER
 }