pprof configuration support, #382

This commit is contained in:
ffdfgdfg committed 2020-02-09 16:54:40 +08:00
1 parent 704bba92d1
commit 533dd083fe
9 files changed
+49

No files matched your search

+2
View File
@@ -145,6 +145,8 @@ func dealCommon(s string) *CommonConfig {
c.Client.MaxConn = common.GetIntNoErrByStr(item[1])
case "remark":
c.Client.Remark = item[1]
case "pprof_addr":
common.InitPProfFromArg(item[1])
}
}
return c