Merge pull request #3357 from ipfs/fix/old-goprocs

no longer hard code gomaxprocs
This commit is contained in:
Jeromy Johnson 2016-11-05 11:34:59 -07:00 committed by GitHub
commit 5fcd73d33b

View File

@ -10,7 +10,6 @@ import (
"net/url"
"os"
"os/signal"
"runtime"
"runtime/pprof"
"strings"
"sync"
@ -66,7 +65,6 @@ type cmdInvocation struct {
// - if anything fails, print error, maybe with help
func main() {
rand.Seed(time.Now().UnixNano())
runtime.GOMAXPROCS(3) // FIXME rm arbitrary choice for n
ctx := logging.ContextWithLoggable(context.Background(), loggables.Uuid("session"))
var err error
var invoc cmdInvocation