pub fn parse_duration(text: &str) -> Result<Duration>
Parse 500ms, 30s, 2m or 1h; a bare number is seconds.
500ms
30s
2m
1h