Skip to content

Commit 7997750

Browse files
committed
cmd/tsdbrelay: runtime.GOMAXPROCS(runtime.NumCPU()) should be the default now
1 parent e8080a3 commit 7997750

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cmd/tsdbrelay/main.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import (
1212
"net/http/httputil"
1313
"net/url"
1414
"os"
15-
"runtime"
1615
"strings"
1716

1817
"bosun.org/cmd/tsdbrelay/denormalize"
@@ -44,7 +43,6 @@ var (
4443
)
4544

4645
func main() {
47-
runtime.GOMAXPROCS(runtime.NumCPU())
4846
var err error
4947
myHost, err = os.Hostname()
5048
if err != nil || myHost == "" {

0 commit comments

Comments
 (0)