Browse Source

Remove call to set GOMAXPROCS (#4010)

* Remove call to set GOMAXPROCS

* Remove runtime import
pull/3960/merge
Aaron Wood 8 years ago committed by 无闻
parent
commit
64788ffff6
  1. 2
      gogs.go

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
}

Loading…
Cancel
Save