use all cpu

This commit is contained in:
Zack Scholl 2018-09-25 12:11:36 -07:00
parent f62459e1a4
commit 68896f6ef7
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@ import (
"log"
"os"
"path/filepath"
"runtime"
"time"
humanize "github.com/dustin/go-humanize"
@ -22,6 +23,7 @@ var codePhrase string
var cr *croc.Croc
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
app := cli.NewApp()
app.Name = "croc"
if version == "" {