diff --git a/cmd/daemon.go b/cmd/daemon.go index 1ea9a2a..e5f0c5d 100644 --- a/cmd/daemon.go +++ b/cmd/daemon.go @@ -20,7 +20,6 @@ import ( "fmt" "os" "os/signal" - "runtime" "strings" "syscall" @@ -89,7 +88,8 @@ func createDaemon(host, driver, level string) error { targetDriver.NewTarget(tgtname, config) } - runtime.GOMAXPROCS(runtime.NumCPU()) + // comment this to avoid concurrent issue + // runtime.GOMAXPROCS(runtime.NumCPU()) // run a service go targetDriver.Run()