mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
Merge pull request #3357 from ipfs/fix/old-goprocs
no longer hard code gomaxprocs
This commit is contained in:
commit
5fcd73d33b
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user