Skip to main content

admission_scheduler_from_env

Function admission_scheduler_from_env 

Source
pub fn admission_scheduler_from_env() -> Result<Option<Arc<AdmissionScheduler>>>
Expand description

Builds the scheduler from the environment. None (budget unset) means admission is disabled. The min-cost and per-identity knobs are not read then, so they cannot fail startup.