Skip to main content

call_bound_from_env

Function call_bound_from_env 

Source
pub fn call_bound_from_env(var: &str) -> Option<Duration>
Expand description

Read a per-call bound, in milliseconds, from the environment variable var. None when it is unset, empty, 0 or not a number: no bound, the default. The caller decides the variable’s name.