mirror of
https://github.com/gogs/gogs.git
synced 2025-05-31 11:42:13 +00:00
Remove call to set GOMAXPROCS (#4010)
* Remove call to set GOMAXPROCS * Remove runtime import
This commit is contained in:
parent
3143e35d83
commit
64788ffff6
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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user