mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-25 03:16:26 +02:00
chore: git-hooks rustfmt and clippy
This commit is contained in:
+1
-6
@@ -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
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user