Skip to main content

lifecycle_knob_requested

Function lifecycle_knob_requested 

Source
pub fn lifecycle_knob_requested(
    get: impl Fn(&str) -> Option<String>,
) -> Option<&'static str>
Expand description

The name of the first lifecycle knob the environment sets, if any — the pure half of the rule above, so it can be tested without the process environment.

Only knobs the uring engine cannot honor are listed. Body and read-deadline caps ARE enforced there (they are properties of parsing, not of scheduling), so configuring those does not cost you the fast engine.