diff --git a/main.go b/main.go index fa37bcf..02d1079 100644 --- a/main.go +++ b/main.go @@ -5,7 +5,6 @@ import ( "fmt" "log" "os" - "runtime" "strconv" "github.com/appleboy/gorush/config" @@ -83,10 +82,6 @@ func createPIDFile() error { return nil } -func init() { - runtime.GOMAXPROCS(runtime.NumCPU()) -} - func main() { opts := config.ConfYaml{}