mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-19 02:44:42 +08:00
go rpc调用新增队列模式
This commit is contained in:
@@ -50,6 +50,9 @@ func (s *COriginNode) OpenDebugCheck(listenAddress string) {
|
||||
}
|
||||
|
||||
func (s *COriginNode) SetupService(services ...service.IService) {
|
||||
ppService := &sysservice.PProfService{}
|
||||
services = append(services, ppService)
|
||||
cluster.InstanceClusterMgr().AddLocalService(ppService)
|
||||
for i := 0; i < len(services); i++ {
|
||||
services[i].Init(services[i])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user