diff options
author | Bo-Yi Wu | 2017-01-04 21:16:03 +0800 |
---|---|---|
committer | Lunny Xiao | 2017-01-04 21:16:03 +0800 |
commit | 467202d0a68bf4ee9e198a57b8a1d9ed8e266e61 (patch) | |
tree | 3adf59b83c0050c2775c1d0942061cae2031ed5d /main.go | |
parent | 09dabe2ff209167649b410161f49aec96ff3e3d9 (diff) |
fix: Remove call to set GOMAXPROCS (#577)
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 } |