chore: Clippy fixes

This commit is contained in:
Ginger committed 2026-04-28 09:16:57 -04:00
1 parent 02f69a7160
commit a8a8e1ea51
25 files changed
+50 -51

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ pub(crate) async fn get_server_keys_route(
}
fn valid_until_ts() -> MilliSecondsSinceUnixEpoch {
let dur = Duration::from_secs(86400 * 7);
let dur = Duration::from_hours(168);
let timepoint = timepoint_from_now(dur).expect("SystemTime should not overflow");
MilliSecondsSinceUnixEpoch::from_system_time(timepoint).expect("UInt should not overflow")
}