fix: GOMAXPROCS set to the number of cores available in 1.5

This commit is contained in:
Bo-Yi Wu
2017-01-04 16:10:33 +08:00
parent ed00c6ef85
commit f20fc0b114
-5
View File
@@ -2,7 +2,6 @@ package main
import (
"os"
"runtime"
"github.com/joho/godotenv"
_ "github.com/joho/godotenv/autoload"
@@ -12,10 +11,6 @@ import (
// Version set at compile-time
var Version = "v1.0.0-dev"
func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
}
func main() {
app := cli.NewApp()