mirror of
https://github.com/ehang-io/nps.git
synced 2025-09-02 03:16:53 +00:00
pprof configuration support, #382
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user