From 24c34d0e385c739d48e51fdd6ad24eafa3c100aa Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 4 Jan 2017 14:07:44 +0800 Subject: [PATCH] fix: Remove call to set GOMAXPROCS --- main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.go b/main.go index 5848abca80148..51425011159af 100644 --- a/main.go +++ b/main.go @@ -8,11 +8,9 @@ package main // import "code.gitea.io/gitea" import ( "os" - "runtime" - - "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/cmd" + "code.gitea.io/gitea/modules/log" "code.gitea.io/gitea/modules/setting" "github.com/urfave/cli" ) @@ -21,7 +19,6 @@ import ( var Version = "1.1.0+dev" func init() { - runtime.GOMAXPROCS(runtime.NumCPU()) setting.AppVer = Version }