Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Celeo committed Feb 23, 2025
1 parent 7378d2f commit 40d4562
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vzdv-tasks/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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 {
Expand Down Expand Up @@ -101,7 +101,7 @@ async fn main() {
})
};

let solo_cert_handle = {
let _solo_cert_handle = {
let db: sqlx::Pool<sqlx::Sqlite> = db.clone();
tokio::spawn(async move {
debug!("Waiting 15 seconds before starting solo cert expiration check");
Expand All @@ -121,7 +121,7 @@ async fn main() {
})
};

let no_show_expiration_handle = {
let _no_show_expiration_handle = {
let db: sqlx::Pool<sqlx::Sqlite> = db.clone();
tokio::spawn(async move {
debug!("Waiting 15 seconds before starting no-show expiration check");
Expand All @@ -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;
}

0 comments on commit 40d4562

Please sign in to comment.