pub fn validate(retention_secs: u64, interval_secs: u64) -> Result<(), String>
Checks the two settings of [history].
[history]