aboutsummaryrefslogtreecommitdiff
path: root/cmd/syncthing/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/syncthing/main.go')
-rw-r--r--cmd/syncthing/main.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/cmd/syncthing/main.go b/cmd/syncthing/main.go
index 6d2216290..012aa92c6 100644
--- a/cmd/syncthing/main.go
+++ b/cmd/syncthing/main.go
@@ -22,7 +22,6 @@ import (
"path"
"path/filepath"
"regexp"
- "runtime"
"runtime/pprof"
"sort"
"strconv"
@@ -651,10 +650,6 @@ func syncthingMain(options serveOptions) {
setupSignalHandling(app)
- if os.Getenv("GOMAXPROCS") == "" {
- runtime.GOMAXPROCS(runtime.NumCPU())
- }
-
if options.DebugProfileCPU {
f, err := os.Create(fmt.Sprintf("cpu-%d.pprof", os.Getpid()))
if err != nil {