Add connections to OOM report

This commit is contained in:
世界
2026-08-30 17:41:42 +08:00
parent 970d93d428
commit b0eaf05225
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 {