新增安全定时器功能接口;优化定时器性能

This commit is contained in:
duanhf2012
2021-08-16 14:15:40 +08:00
parent 81a484b6a9
commit 41e1c27760
4 changed files with 318 additions and 141 deletions

View File

@@ -95,7 +95,7 @@ func (s *Service) Init(iService IService,getClientFun rpc.FuncRpcClient,getServe
//初始化祖先
s.ancestor = iService.(IModule)
s.seedModuleId =InitModuleId
s.descendants = map[int64]IModule{}
s.descendants = map[uint32]IModule{}
s.serviceCfg = serviceCfg
s.goroutineNum = 1
s.eventProcessor = event.NewEventProcessor()