| Index: client/cmd/swarming/common.go
|
| diff --git a/client/cmd/swarming/common.go b/client/cmd/swarming/common.go
|
| index 3b3c82a1efc24e119a0ebb29b2593cb99e174dfe..62f4b5a5e0b6a4b9452289c5ad7e338e807e1055 100644
|
| --- a/client/cmd/swarming/common.go
|
| +++ b/client/cmd/swarming/common.go
|
| @@ -7,12 +7,17 @@ package main
|
| import (
|
| "errors"
|
| "os"
|
| + "runtime"
|
|
|
| "github.com/luci/luci-go/client/internal/common"
|
| "github.com/luci/luci-go/client/internal/lhttp"
|
| "github.com/maruel/subcommands"
|
| )
|
|
|
| +func init() {
|
| + runtime.GOMAXPROCS(runtime.NumCPU())
|
| +}
|
| +
|
| type commonFlags struct {
|
| subcommands.CommandRunBase
|
| defaultFlags common.Flags
|
|
|