style: import ordering + blank lines after now_unix sweep (treefmt)
This commit is contained in:
parent
a17015f01e
commit
dc6a37b29a
14 changed files with 10 additions and 26 deletions
|
|
@ -17,8 +17,8 @@
|
|||
use std::path::Path;
|
||||
use std::time::Duration;
|
||||
|
||||
use rusqlite::{Connection, Result, params};
|
||||
use hive_sh4re::wire_time::now_unix;
|
||||
use rusqlite::{Connection, Result, params};
|
||||
|
||||
/// How often the sweep runs.
|
||||
const VACUUM_INTERVAL: Duration = Duration::from_hours(1);
|
||||
|
|
@ -131,4 +131,3 @@ fn vacuum_events(path: &Path) -> Result<u64> {
|
|||
)?;
|
||||
Ok(u64::try_from(removed).unwrap_or(0))
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue