aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Wood <aaronjwood@gmail.com>2017-01-23 18:30:40 -0500
committer无闻 <u@gogs.io>2017-01-23 18:30:40 -0500
commit64788ffff6b738f3ece815a6e6ec066bba7c9a2b (patch)
treef8b25660b8483ac7f08d8da60767adf8b5ed510d
parent3143e35d831156718cbce8be7987859d883d1f77 (diff)
Remove call to set GOMAXPROCS (#4010)
* Remove call to set GOMAXPROCS * Remove runtime import
-rw-r--r--gogs.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/gogs.go b/gogs.go
index cb56bb5f..fd458a48 100644
--- a/gogs.go
+++ b/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
}