Browse Source

fix: Remove call to set GOMAXPROCS (#577)

for-closed-social
Bo-Yi Wu 7 years ago
committed by Lunny Xiao
parent
commit
467202d0a6
1 changed files with 1 additions and 4 deletions
  1. +1
    -4
      main.go

+ 1
- 4
main.go 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
}

Loading…
Cancel
Save