Commit 5fcd73d3 authored by Jeromy Johnson's avatar Jeromy Johnson Committed by GitHub

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

no longer hard code gomaxprocs
parents 4919645e 489c99b7
...@@ -10,7 +10,6 @@ import ( ...@@ -10,7 +10,6 @@ import (
"net/url" "net/url"
"os" "os"
"os/signal" "os/signal"
"runtime"
"runtime/pprof" "runtime/pprof"
"strings" "strings"
"sync" "sync"
...@@ -66,7 +65,6 @@ type cmdInvocation struct { ...@@ -66,7 +65,6 @@ type cmdInvocation struct {
// - if anything fails, print error, maybe with help // - if anything fails, print error, maybe with help
func main() { func main() {
rand.Seed(time.Now().UnixNano()) rand.Seed(time.Now().UnixNano())
runtime.GOMAXPROCS(3) // FIXME rm arbitrary choice for n
ctx := logging.ContextWithLoggable(context.Background(), loggables.Uuid("session")) ctx := logging.ContextWithLoggable(context.Background(), loggables.Uuid("session"))
var err error var err error
var invoc cmdInvocation var invoc cmdInvocation
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment