|
@@ -3,6 +3,7 @@ package main
|
|
|
import (
|
|
|
cfg2 "cicv-data-closedloop/kinglong/common/cfg"
|
|
|
commonInit "cicv-data-closedloop/kinglong/common/init"
|
|
|
+ "cicv-data-closedloop/kinglong/common/log"
|
|
|
svc3 "cicv-data-closedloop/kinglong/common/svc"
|
|
|
slaveConfig "cicv-data-closedloop/kinglong/slave/pkg/cfg"
|
|
|
svc4 "cicv-data-closedloop/kinglong/slave/pkg/svc"
|
|
@@ -11,6 +12,7 @@ import (
|
|
|
// init 初始化函数
|
|
|
func init() {
|
|
|
//runtime.GOMAXPROCS(1)
|
|
|
+ log.InitLogConfig("kinglong-slave")
|
|
|
commonInit.Init()
|
|
|
slaveConfig.InitTcpListener()
|
|
|
cfg2.InitKillSignalListener(cfg2.CloudConfig.Hosts[1].Ip)
|