Skip to content

Commit

Permalink
fix: GOMAXPROCS set to the number of cores available in 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
appleboy committed Jan 5, 2017
1 parent 73aca36 commit e5b916c
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"log"
"os"
"runtime"
"strconv"

"github.com/appleboy/gorush/config"
Expand Down Expand Up @@ -83,10 +82,6 @@ func createPIDFile() error {
return nil
}

func init() {
runtime.GOMAXPROCS(runtime.NumCPU())
}

func main() {
opts := config.ConfYaml{}

Expand Down

0 comments on commit e5b916c

Please sign in to comment.