1
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-20 21:34:27 +08:00
parent aeeac8b2ed
commit 922f7c3622
17 changed files with 138 additions and 38 deletions

View File

@@ -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())