mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 20:56:49 +00:00
fix more clippy lints (part 1)
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
1 parent
44440f745f
commit
59c7f93656
19 files changed
+77
-80
No files matched your search
+3
-3
@@ -1,5 +1,5 @@
|
||||
pub mod abstraction;
|
||||
pub mod key_value;
|
||||
pub(crate) mod abstraction;
|
||||
pub(crate) mod key_value;
|
||||
|
||||
use crate::{
|
||||
service::rooms::{edus::presence::presence_handler, timeline::PduCount},
|
||||
@@ -1094,7 +1094,7 @@ impl KeyValueDatabase {
|
||||
use tokio::time::Instant;
|
||||
|
||||
let timer_interval =
|
||||
Duration::from_secs(services().globals.config.cleanup_second_interval as u64);
|
||||
Duration::from_secs(u64::from(services().globals.config.cleanup_second_interval));
|
||||
|
||||
fn perform_cleanup() {
|
||||
let start = Instant::now();
|
||||
|
||||
Reference in new issue
Block a user