Skip to content

Commit 467202d

Browse files
appleboylunny
authored andcommitted
fix: Remove call to set GOMAXPROCS (#577)
1 parent 09dabe2 commit 467202d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

main.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ package main // import "code.gitea.io/gitea"
88

99
import (
1010
"os"
11-
"runtime"
12-
13-
"code.gitea.io/gitea/modules/log"
1411

1512
"code.gitea.io/gitea/cmd"
13+
"code.gitea.io/gitea/modules/log"
1614
"code.gitea.io/gitea/modules/setting"
1715
"github.com/urfave/cli"
1816
)
@@ -21,7 +19,6 @@ import (
2119
var Version = "1.1.0+dev"
2220

2321
func init() {
24-
runtime.GOMAXPROCS(runtime.NumCPU())
2522
setting.AppVer = Version
2623
}
2724

0 commit comments

Comments
 (0)