automaxprocs (#2770)

This commit is contained in:
Preston Van Loon
2019-06-13 10:53:42 -04:00
committed by terence tsao
parent 3a167e54b5
commit dd131561bf
23 changed files with 75 additions and 37 deletions

View File

@@ -11,6 +11,7 @@ go_library(
"@com_github_ethereum_go_ethereum//common:go_default_library",
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
"@com_github_ethereum_go_ethereum//params:go_default_library",
"@org_uber_go_automaxprocs//:go_default_library",
],
)
@@ -34,6 +35,7 @@ go_image(
"@com_github_ethereum_go_ethereum//common:go_default_library",
"@com_github_ethereum_go_ethereum//ethclient:go_default_library",
"@com_github_ethereum_go_ethereum//params:go_default_library",
"@org_uber_go_automaxprocs//:go_default_library",
],
)

View File

@@ -17,6 +17,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/ethclient"
"github.com/ethereum/go-ethereum/params"
_ "go.uber.org/automaxprocs"
)
var (