reduce the number of thread spawned by milli

This commit is contained in:
Tamo 2024-07-30 11:20:42 +02:00
parent b53a019b07
commit 6666c57880
3 changed files with 9 additions and 7 deletions

View file

@ -66,8 +66,8 @@ async fn list_tasks() {
async fn list_tasks_with_star_filters() {
let server = Server::new().await;
let index = server.index("test");
index.create(None).await;
index.wait_task(0).await;
let (task, _code) = index.create(None).await;
index.wait_task(task.uid()).await;
index
.add_documents(serde_json::from_str(include_str!("../assets/test_set.json")).unwrap(), None)
.await;