mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-28 18:25:05 +08:00
新增安全定时器功能接口;优化定时器性能
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user