summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
authorBo-Yi Wu <appleboy.tw@gmail.com>2017-01-04 21:16:03 +0800
committerLunny Xiao <xiaolunwen@gmail.com>2017-01-04 21:16:03 +0800
commit467202d0a68bf4ee9e198a57b8a1d9ed8e266e61 (patch)
tree3adf59b83c0050c2775c1d0942061cae2031ed5d /main.go
parent09dabe2ff209167649b410161f49aec96ff3e3d9 (diff)
downloadgitea-467202d0a68bf4ee9e198a57b8a1d9ed8e266e61.tar.gz
gitea-467202d0a68bf4ee9e198a57b8a1d9ed8e266e61.zip
fix: Remove call to set GOMAXPROCS (#577)
Diffstat (limited to 'main.go')
-rw-r--r--main.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/main.go b/main.go
index 5848abca80..5142501115 100644
--- a/main.go
+++ b/main.go
@@ -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
}