Add debug http server

This commit is contained in:
世界
2023-04-22 15:58:25 +08:00
parent ccb872a41e
commit f568bb9fe3
7 changed files with 73 additions and 49 deletions

View File

@@ -10,6 +10,7 @@ import (
)
func applyDebugOptions(options option.DebugOptions) {
applyDebugListenOption(options)
if options.GCPercent != nil {
debug.SetGCPercent(*options.GCPercent)
}