fix(#2031): use Duration::from_hours(1) for clippy duration-suboptimal-units

This commit is contained in:
damocles 2026-06-27 10:10:13 +02:00 committed by mara
commit e349416d1a

View file

@ -20,7 +20,7 @@ use std::time::{Duration, SystemTime, UNIX_EPOCH};
use rusqlite::{Connection, Result, params};
/// How often the sweep runs.
const VACUUM_INTERVAL: Duration = Duration::from_secs(3600);
const VACUUM_INTERVAL: Duration = Duration::from_hours(1);
/// Keep completed bash-task files this long before deleting their trio.
const BASH_KEEP_SECS: i64 = 48 * 3600;
/// Keep verbose `stream` event rows this long before pruning. Other event