From 40d45629e583a508d06a474d40942860b7061e15 Mon Sep 17 00:00:00 2001 From: Celeo Date: Sat, 22 Feb 2025 17:51:24 -0800 Subject: [PATCH] Fix lint --- vzdv-tasks/src/main.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/vzdv-tasks/src/main.rs b/vzdv-tasks/src/main.rs index abe430f..fdd96e7 100644 --- a/vzdv-tasks/src/main.rs +++ b/vzdv-tasks/src/main.rs @@ -37,7 +37,7 @@ async fn main() { info!("Starting tasks"); - let roster_handle = { + let _roster_handle = { let db = db.clone(); tokio::spawn(async move { debug!("Waiting 15 seconds before starting roster sync"); @@ -58,7 +58,7 @@ async fn main() { }) }; - let activity_handle = { + let _activity_handle = { let config = config.clone(); let db = db.clone(); tokio::spawn(async move { @@ -101,7 +101,7 @@ async fn main() { }) }; - let solo_cert_handle = { + let _solo_cert_handle = { let db: sqlx::Pool = db.clone(); tokio::spawn(async move { debug!("Waiting 15 seconds before starting solo cert expiration check"); @@ -121,7 +121,7 @@ async fn main() { }) }; - let no_show_expiration_handle = { + let _no_show_expiration_handle = { let db: sqlx::Pool = db.clone(); tokio::spawn(async move { debug!("Waiting 15 seconds before starting no-show expiration check"); @@ -141,10 +141,10 @@ async fn main() { }) }; - roster_handle.await.unwrap(); - activity_handle.await.unwrap(); - solo_cert_handle.await.unwrap(); - no_show_expiration_handle.await.unwrap(); + _roster_handle.await.unwrap(); + _activity_handle.await.unwrap(); + _solo_cert_handle.await.unwrap(); + _no_show_expiration_handle.await.unwrap(); db.close().await; }