This commit is contained in:
zhouyuyan
2017-09-01 13:57:40 +08:00
parent a45cccaa7a
commit 50a9a6841d
7 changed files with 19 additions and 24 deletions
+3
View File
@@ -4,11 +4,14 @@ import (
"hmq/broker"
"os"
"os/signal"
"runtime"
log "github.com/cihub/seelog"
)
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
runtime.GC()
config, er := broker.LoadConfig()
if er != nil {
log.Error("Load Config file error: ", er)