This commit is contained in:
@@ -75,10 +75,10 @@ func main() {
|
||||
// }
|
||||
// 解析命令行参数
|
||||
cool.Config.GameOnlineID = gcmd.GetOpt("id", "1").Uint16()
|
||||
go Start() //注入service
|
||||
// if cool.Config.PortBL == 1 || cool.Config.PortBL == 2 { //只分析1服务器的
|
||||
// go PprofWeb()
|
||||
// }
|
||||
go Start() //注入service
|
||||
if cool.Config.GameOnlineID == 2 { //只分析1服务器的
|
||||
go PprofWeb()
|
||||
}
|
||||
//go PprofWeb()
|
||||
go monitorMemAndQuit()
|
||||
fmt.Println("Process start, pid:", os.Getpid())
|
||||
|
||||
Reference in New Issue
Block a user