From 467202d0a68bf4ee9e198a57b8a1d9ed8e266e61 Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Wed, 4 Jan 2017 21:16:03 +0800 Subject: [PATCH] fix: Remove call to set GOMAXPROCS (#577) --- main.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/main.go b/main.go index 5848abca801..51425011159 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 }