Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    scope: Scope,
    global: &Limits,
    fleet: Option<&Limits>,
    agent: Option<&Limits>,
    flags: &Limits,
) -> Result<ResolvedLimits, String>
Expand description

The resolver. Precedence, narrowest wins: flag > agent > fleet > global > built-in. Each key is resolved on its own; a scope that sets only stuck leaves deadline to the next scope out.