Skip to content

Commit 5fcd73d

Browse files
Merge pull request #3357 from ipfs/fix/old-goprocs
no longer hard code gomaxprocs
2 parents 4919645 + 489c99b commit 5fcd73d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/ipfs/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"net/url"
1111
"os"
1212
"os/signal"
13-
"runtime"
1413
"runtime/pprof"
1514
"strings"
1615
"sync"
@@ -66,7 +65,6 @@ type cmdInvocation struct {
6665
// - if anything fails, print error, maybe with help
6766
func main() {
6867
rand.Seed(time.Now().UnixNano())
69-
runtime.GOMAXPROCS(3) // FIXME rm arbitrary choice for n
7068
ctx := logging.ContextWithLoggable(context.Background(), loggables.Uuid("session"))
7169
var err error
7270
var invoc cmdInvocation

0 commit comments

Comments
 (0)