Skip to main content

resource_limit

Function resource_limit 

Source
fn resource_limit(
    app_root: &Path,
    runtime_conf_path: Option<&Path>,
    key: &str,
    default_value: usize,
    maximum: usize,
) -> usize
Expand description

Loads one bounded positive resource limit from app or runtime configuration.