move dispatcher

This commit is contained in:
zhouyuyan committed 2018-01-02 10:55:28 +08:00
1 parent 9ad6590e83
commit 123bb7210f
2 files changed
+2 -1

No files matched your search

+2
View File
@@ -65,6 +65,8 @@ func (b *Broker) Start() {
log.Error("broker is null")
return
}
StartDispatcher()
//listen clinet over tcp
if b.config.Port != "" {
go b.StartClientListening(false)