feat: 分析工具pprof

This commit is contained in:
TsMask committed 2024-01-12 10:41:28 +08:00
1 parent 3f70705c7a
commit 83c63819a7
1 file changed
+1 -1
+1 -1
View File
@@ -189,7 +189,7 @@ func main() {
// 注册 pprof 路由
go func() {
http.ListenAndServe("localhost:6060", nil)
http.ListenAndServe("0.0.0.0:6060", nil)
}()
// 开启监控采集