diff options
author | Aaron Wood <aaronjwood@gmail.com> | 2017-01-23 18:30:40 -0500 |
---|---|---|
committer | 无闻 <u@gogs.io> | 2017-01-23 18:30:40 -0500 |
commit | 64788ffff6b738f3ece815a6e6ec066bba7c9a2b (patch) | |
tree | f8b25660b8483ac7f08d8da60767adf8b5ed510d | |
parent | 3143e35d831156718cbce8be7987859d883d1f77 (diff) |
Remove call to set GOMAXPROCS (#4010)
* Remove call to set GOMAXPROCS
* Remove runtime import
-rw-r--r-- | gogs.go | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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 } |