|
|
@@ -21,7 +21,6 @@ import (
|
|
|
"fmt"
|
|
|
"math"
|
|
|
"os"
|
|
|
- "runtime"
|
|
|
godebug "runtime/debug"
|
|
|
"sort"
|
|
|
"strconv"
|
|
|
@@ -209,8 +208,6 @@ func init() {
|
|
|
app.Flags = append(app.Flags, metricsFlags...)
|
|
|
|
|
|
app.Before = func(ctx *cli.Context) error {
|
|
|
- runtime.GOMAXPROCS(runtime.NumCPU())
|
|
|
-
|
|
|
logdir := ""
|
|
|
if ctx.GlobalBool(utils.DashboardEnabledFlag.Name) {
|
|
|
logdir = (&node.Config{DataDir: utils.MakeDataDir(ctx)}).ResolvePath("logs")
|