优化启动流程整理代码

This commit is contained in:
boyce
2020-07-31 20:04:49 +08:00
parent 5e3cb7623f
commit 0d547b1e83
4 changed files with 20 additions and 26 deletions

View File

@@ -70,7 +70,6 @@ func (slf *Service) Init(iservice IService,getClientFun rpc.FuncRpcClient,getSer
slf.serviceCfg = serviceCfg
slf.gorouterNum = 1
slf.eventHandler.Init(&slf.eventProcessor)
slf.self.OnInit()
}
func (slf *Service) SetGoRouterNum(gorouterNum int32) bool {