Explorar el Código

feat: default decode budget to recording budget

master
Jan Svabenik hace 9 horas
padre
commit
e767a64503
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. +3
    -0
      internal/pipeline/policy.go

+ 3
- 0
internal/pipeline/policy.go Ver fichero

@@ -133,5 +133,8 @@ func ApplyNamedProfile(cfg *config.Config, name string) {
cfg.Recorder.Enabled = true
}
}
if cfg.Resources.MaxDecodeJobs <= 0 {
cfg.Resources.MaxDecodeJobs = cfg.Resources.MaxRecordingStreams
}
cfg.FFTSize = cfg.Surveillance.AnalysisFFTSize
}

Cargando…
Cancelar
Guardar