Index: client/cmd/isolate/common.go |
diff --git a/client/cmd/isolate/common.go b/client/cmd/isolate/common.go |
index eee4e93be8200378d8c3fd675ece3e61b8cebc50..a8a28b1a66d47fdc1bcd1afab727f23634e66cdf 100644 |
--- a/client/cmd/isolate/common.go |
+++ b/client/cmd/isolate/common.go |
@@ -8,6 +8,7 @@ import ( |
"errors" |
"flag" |
"fmt" |
+ "runtime" |
"github.com/luci/luci-go/client/internal/common" |
"github.com/luci/luci-go/client/isolate" |
@@ -15,6 +16,10 @@ import ( |
"github.com/maruel/subcommands" |
) |
+func init() { |
+ runtime.GOMAXPROCS(runtime.NumCPU()) |
+} |
+ |
type commonFlags struct { |
subcommands.CommandRunBase |
defaultFlags common.Flags |