@cryptotaxi247 / kubo / commits / 489c99b7e

no longer hard code gomaxprocs

License: MIT Signed-off-by: Jeromy <why@ipfs.io>

Jeromy committed Nov 4, 2016 at 10:44 UTC 489c99b7e22444c04d964dbd1eb910244472ce6b
1 file changed -2
cmd/ipfs/main.go
-2
@@ -10,7 +10,6 @@ import (
10 "net/url"
11 "os"
12 "os/signal"
13 - "runtime"
13 "runtime/pprof"
14 "strings"
15 "sync"
@@ -66,7 +65,6 @@ type cmdInvocation struct {
65 // - if anything fails, print error, maybe with help
66 func main() {
67 rand.Seed(time.Now().UnixNano())
69 - runtime.GOMAXPROCS(3) // FIXME rm arbitrary choice for n
68 ctx := logging.ContextWithLoggable(context.Background(), loggables.Uuid("session"))
69 var err error
70 var invoc cmdInvocation