package main

import (
	"runtime"

	"github.com/sivel/overseer/config"
	"github.com/sivel/overseer/runner"
)

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

func main() {
	monitors, notifiers := config.ParseConfig()
	run := runner.NewRunner(monitors, notifiers)
	run.Loop()
}

package main

import (
	"github.com/sivel/overseer/config"
	"github.com/sivel/overseer/runner"
)

func main() {
	monitors, notifiers := config.ParseConfig()
	run := runner.NewRunner(monitors, notifiers)
	run.Loop()
}

--- 
+++ 
@@ -1,9 +1,15 @@
 package main
 
 import (
+	"runtime"
+
 	"github.com/sivel/overseer/config"
 	"github.com/sivel/overseer/runner"
 )
+
+func init() {
+	runtime.GOMAXPROCS(runtime.NumCPU())
+}
 
 func main() {
 	monitors, notifiers := config.ParseConfig()
Increase gomaxprocs to number of CPUs
