mirror of
https://github.com/gogs/gogs.git
synced 2025-12-20 15:20:01 +01:00
Remove call to set GOMAXPROCS (#4010)
* Remove call to set GOMAXPROCS * Remove runtime import
This commit is contained in:
2
gogs.go
2
gogs.go
@@ -9,7 +9,6 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
"runtime"
|
|
||||||
|
|
||||||
"github.com/urfave/cli"
|
"github.com/urfave/cli"
|
||||||
|
|
||||||
@@ -20,7 +19,6 @@ import (
|
|||||||
const APP_VER = "0.9.115.0103"
|
const APP_VER = "0.9.115.0103"
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
runtime.GOMAXPROCS(runtime.NumCPU())
|
|
||||||
setting.AppVer = APP_VER
|
setting.AppVer = APP_VER
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user