Skip to content

Commit

Permalink
removed unnecesarry runtime.GOMAXPROCS now that its default in Go 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
martensson committed Jan 8, 2016
1 parent 6525ffb commit d6fe24e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion .goxc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"Arch": "386 amd64",
"Os": "linux darwin windows freebsd",
"PackageVersion": "0.1.1",
"PackageVersion": "0.1.2",
"TaskSettings": {
"deb": {
"armarch": "",
Expand Down
2 changes: 0 additions & 2 deletions moxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"io/ioutil"
"log"
"net/http"
"runtime"
"strings"
"sync"

Expand Down Expand Up @@ -87,7 +86,6 @@ func moxy_apps(w http.ResponseWriter, r *http.Request) {
}

func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
configtoml := flag.String("f", "moxy.toml", "Path to config. (default moxy.toml)")
flag.Parse()
file, err := ioutil.ReadFile(*configtoml)
Expand Down

0 comments on commit d6fe24e

Please sign in to comment.