pub fn get_env_duration_seconds_optional(env_name: &str) -> Option<Duration>
Expand description

Get an environment variable as a Duration in seconds. If not present or there is an error in parsing, return None.