pub fn get_env_duration_seconds_or_default(
    env_name: &str,
    default: Duration
) -> Duration
Expand description

Get an environment variable as a Duration in seconds, or fall back to the provided default. Returns the default in the event of a parse error.