chore: git-hooks rustfmt and clippy

This commit is contained in:
Per Stark
2026-06-20 10:10:29 +02:00
parent 01ef1bcb7a
commit 09e545816e
29 changed files with 156 additions and 201 deletions
+1 -6
View File
@@ -60,12 +60,7 @@ async fn main() -> anyhow::Result<()> {
worker_embedding,
)?);
run_worker_loop(
worker_db,
ingestion_pipeline,
index_rebuild_interval_secs,
)
.await
run_worker_loop(worker_db, ingestion_pipeline, index_rebuild_interval_secs).await
});
tokio::select! {
+1 -3
View File
@@ -74,9 +74,7 @@ mod tests {
let db = Arc::clone(&services.db);
let pipeline = Arc::new(pipeline);
let worker =
tokio::spawn(async move {
ingestion_pipeline::run_worker_loop(db, pipeline, 0).await
});
tokio::spawn(async move { ingestion_pipeline::run_worker_loop(db, pipeline, 0).await });
tokio::time::sleep(Duration::from_millis(250)).await;
assert!(