auto heal(3)

Signed-off-by: mujunxiang <1948535941@qq.com>
This commit is contained in:
mujunxiang
2024-11-19 17:15:37 +08:00
parent 6291087ecb
commit e94d462652
50 changed files with 1822 additions and 2175 deletions
+2 -2
View File
@@ -37,9 +37,9 @@ fn parse_bitrot_config(s: &str) -> Result<Duration> {
match parse_bool(s) {
Ok(enabled) => {
if enabled {
return Ok(Duration::from_secs_f64(0.0));
Ok(Duration::from_secs_f64(0.0))
} else {
return Ok(Duration::from_secs_f64(-1.0));
Ok(Duration::from_secs_f64(-1.0))
}
}
Err(_) => {