fix(#2031): use Duration::from_hours(1) for clippy duration-suboptimal-units
This commit is contained in:
parent
601ed2429d
commit
e349416d1a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue