mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
feat: use 32345 as pprof port
This commit is contained in:
@@ -721,3 +721,7 @@ func Print(writer io.Writer, slogan string) {
|
||||
|
||||
_, _ = writer.Write([]byte(sb.String()))
|
||||
}
|
||||
|
||||
func StartupPProf(port int) {
|
||||
log.Errorln(http.ListenAndServe(fmt.Sprintf(":%d", port), nil))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user