[ 项目 ] 优化业务队列等待逻辑
This commit is contained in:
@@ -27,6 +27,8 @@ func main() {
|
||||
g.G.AgentConfig = register.ParseConfiguration(filename)
|
||||
|
||||
// 执行初始化之策工作
|
||||
AgentServerInfoCache = INIT(agentServerInfoConf)
|
||||
businessForeverChan := INIT(agentServerInfoConf)
|
||||
|
||||
// 永远等待 runtime的队列消息
|
||||
<-businessForeverChan
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user