Add connections to OOM report

This commit is contained in:
世界
2026-07-09 15:12:55 +08:00
parent 595b45fde5
commit f3b0c775ad
2 changed files with 124 additions and 0 deletions
+4
View File
@@ -167,6 +167,10 @@ func (i *Instance) PauseManager() pause.Manager {
return i.pauseManager
}
func (i *Instance) TrafficManager() *trafficcontrol.Manager {
return i.trafficManager
}
func parseConfig(ctx context.Context, configContent string) (option.Options, error) {
options, err := json.UnmarshalExtendedContext[option.Options](ctx, []byte(configContent))
if err != nil {