0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-21 22:41:14 +01:00

fix: Remove call to set GOMAXPROCS (#577)

This commit is contained in:
Bo-Yi Wu 2017-01-04 21:16:03 +08:00 committed by Lunny Xiao
parent 09dabe2ff2
commit 467202d0a6

View file

@ -8,11 +8,9 @@ package main // import "code.gitea.io/gitea"
import (
"os"
"runtime"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/cmd"
"code.gitea.io/gitea/modules/log"
"code.gitea.io/gitea/modules/setting"
"github.com/urfave/cli"
)
@ -21,7 +19,6 @@ import (
var Version = "1.1.0+dev"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
setting.AppVer = Version
}